---
title: Deploy Appsmith with AI on Blossom
url: "/deploy/appsmith/"
canonical_url: https://blossom88.com/deploy/appsmith/
markdown_url: https://blossom88.com/deploy/appsmith.md
summary: Deploy Appsmith with AI on Blossom. Build private internal tools, connect
  your databases, and publish dashboards your team can use.
stack:
- Java
- TypeScript
- React
- MongoDB
- Redis
- PostgreSQL
---

# Deploy Appsmith with AI on Blossom

[Appsmith](https://www.appsmith.com/) is an open-source builder for internal
tools. Connect a database or API, add tables and forms, and publish an app
for your team.

## Ask Your Agent

> **Ask your AI agent:** Deploy Appsmith on Blossom and help me build a private customer dashboard.
>
> Follow this guide: https://blossom88.com/deploy/appsmith/

[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).

## Your Internal Tool

| Part | Purpose |
|---|---|
| Appsmith | Builds and serves your team's tools |
| Persistent Volume | Keeps Appsmith’s MongoDB, configuration and Git files |
| Managed Redis | Coordinates cache and sessions |
| Your database | Supplies the records your dashboard reads and edits |

<details class="optional-reading" markdown="1">
<summary>Deployment setup and commands</summary>

Your agent checks Appsmith's current [installation requirements](https://docs.appsmith.com/getting-started/setup/installation-guides/docker)
and [infrastructure sizing](https://docs.appsmith.com/getting-started/setup/infrastructure-sizing).
Use a maintained Community Edition image and pin a compatible multi-architecture
index. Save version and resource choices with the deployment. Appsmith's JVM
and editor need more memory than a small web service; size for the workload.

Create an App and prebuilt-image Environment with Blossom Account access:

    blossom profile:show
    blossom app:create --data '{"app":{"name":"appsmith"}}'
    blossom environment:create --data environment.yml

Use Appsmith's built-in single-node MongoDB replica set on its Volume.
Appsmith requires a replica set; a standalone external MongoDB server is not
a compatible replacement. An external replica set is an option when you
operate one separately. Keep managed Redis private and connect it through
Appsmith's supported URL setting:

    blossom cache_instance:create --data redis.yml --follow
    blossom environment_link:create --data '{"environment_link":{"environment_id":"environment-100","target_type":"CacheInstance","target_id":"cache_instance-100","var_name":"APPSMITH_REDIS_URL"}}'

Keep `APPSMITH_ENCRYPTION_PASSWORD` and `APPSMITH_ENCRYPTION_SALT` stable in
a private .env.production file. Appsmith needs the same values to decrypt
saved datasource credentials after an update or recovery. Disable telemetry
if your instance should not send usage data.

Use the selected image's upstream entrypoint and command. Attach a
[Persistent Service Volume](/docs/apps/persistent-services/) to
`/appsmith-stacks`; it preserves MongoDB data as well as configuration and
Git files. Select a backend readiness probe appropriate to the image and
allow enough time for first-start migrations. Keep one writer on this Volume.

    blossom env_var:push --environment environment-100 --file .env.production
    blossom service:create --data web.yml
    blossom environment:deploy --id environment-100 --follow
    blossom environment:show --id environment-100

For a Community Edition instance without SAML or workflow services, disable
unneeded embedded PostgreSQL according to the selected release's settings.
Do not disable a datastore that an enabled feature needs.

Create the first owner in Appsmith. Keep its native login as well as Blossom
Account access, and configure invitations and signup for your team. Set up
SMTP before depending on email delivery or password recovery.

</details>

## Build Your First Dashboard

Connect your business database, choose a table, and generate a page with data.
Publish it, then try reading and updating a sample record.

![Appsmith customer dashboard showing records from managed PostgreSQL.](/deploy/assets/images/appsmith/dashboard.webp)

<details class="optional-reading" markdown="1">
<summary>Database connections, updates, and scaling</summary>

The sample dashboard uses managed PostgreSQL. You can also connect an
existing database or API. Use an application role limited to the records
and operations the tool needs; keep datasource passwords on Appsmith's backend.

    blossom database_instance:create --data reporting-postgres.yml --follow
    blossom database:list --database_instance database_instance-200
    blossom database:credentials --id database-200

The credentials command reveals a secret. Read it privately and enter it in
Appsmith's datasource settings; do not paste its output into chat or screenshots.
Use a private endpoint when the database runs on Blossom. Follow Appsmith's
[current PostgreSQL guide](https://docs.appsmith.com/connect-data/reference/querying-postgres)
for connection settings and parameterized queries. Test with synthetic data
before giving a dashboard write access to business records.

    blossom environment:deploy --id environment-100 --follow
    blossom service:show --id service-100
    blossom logs --environment environment-100 --lines 30

Keep Redis, the Volume containing MongoDB, and encryption secrets across
updates.
After replacing the Container, sign in again, open the published app, and
read and change a sample record through the saved datasource connection.
Back up Appsmith state and business data separately and test recovery together.

This recipe uses one Appsmith Container on its Volume. Managed Redis does not
by itself make it horizontally scalable. Follow Appsmith's
HA and shared-storage requirements before choosing a multi-replica deployment.

</details>

## What You Get

- A private Appsmith workspace for building internal tools
- Persistent app definitions and Git files, plus managed Redis
- A working dashboard connected to your business data
