---
title: Deploy CloudBeaver with AI on Blossom
url: "/deploy/cloudbeaver/"
canonical_url: https://blossom88.com/deploy/cloudbeaver/
markdown_url: https://blossom88.com/deploy/cloudbeaver.md
summary: Share a browser-based PostgreSQL connection with one teammate and give it
  read-only access.
categories:
- deployment
- databases
stack:
- Java
- TypeScript
- React
- PostgreSQL
---

# Deploy CloudBeaver with AI on Blossom

[CloudBeaver](https://github.com/dbeaver/cloudbeaver) gives your team a
browser workspace for exploring databases and running SQL. This recipe
uses Community Edition and a sample PostgreSQL database.

## Ask Your Agent

> **Ask your AI agent:** Deploy CloudBeaver on Blossom and help me share a read-only PostgreSQL connection with a teammate.
>
> Follow this guide: https://blossom88.com/deploy/cloudbeaver/

[Install the Blossom CLI and skill](https://docs.blossom88.com/learn/getting-started/install/) on your agent's machine and [choose a Location in your cloud account](https://docs.blossom88.com/learn/getting-started/choose-your-cloud/#connect-your-provider).

## How It Runs

| Part | Role | Where |
|---|---|---|
| CloudBeaver Community | Serve the workspace and keep users and grants | Persistent Service behind Blossom Account access |
| PostgreSQL | Provide the sample data and enforce the read-only login | Private database connection |

## Deploy CloudBeaver

Use the [official Community image](https://github.com/dbeaver/cloudbeaver/wiki/CloudBeaver-Community-deployment-from-docker-image)
and finish the setup behind Blossom Account access. Create a PostgreSQL
login with read access to the sample table.

<details class="optional-reading" markdown="1">
<summary>Notes for your agent</summary>

Expose HTTP on port `8978`. Mount a [Persistent Service Volume](/docs/apps/persistent-services/)
at `/opt/cloudbeaver/workspace` to keep the CloudBeaver settings and
access grants. The sample PostgreSQL Service stays private.

    blossom environment:deploy --id environment-100 --follow

</details>

## Share a Read-only Connection

Create a connection under the Shared project and grant one teammate
access. Sign in as that teammate and run a query using the read-only
database login. CloudBeaver controls who sees the connection. PostgreSQL
controls what the login can read and change.

> **Ask your AI agent:** Help me share a PostgreSQL connection with one teammate and verify they can read the sample rows.

> Follow this guide: https://blossom88.com/deploy/cloudbeaver/



![Read the sample rows with the shared connection.](/deploy/assets/images/cloudbeaver/read-only-query.webp)

## Check the Grant After an Update

Replace the web Container and sign in again. The teammate can still open
the same connection, and another user without a grant cannot see it.

> **Ask your AI agent:** Check that the same teammate can open the connection after an update and that the database login still rejects writes.

> Follow this guide: https://blossom88.com/deploy/cloudbeaver/



![Reopen the saved connection grant after replacement.](/deploy/assets/images/cloudbeaver/shared-connection-access.webp)

## What You Get

A private workspace with a shared connection that keeps its access rules
across deploys.

## What You Get

- A private CloudBeaver Community workspace
- A shared PostgreSQL connection granted to one teammate
- The same connection and grant after Container replacement

Tested on Blossom: The same connection and grant survived Container replacement, and PostgreSQL still rejected writes.
