---
title: Deploy Apache Superset with AI on Blossom
url: "/deploy/apache-superset/"
canonical_url: https://blossom88.com/deploy/apache-superset/
markdown_url: https://blossom88.com/deploy/apache-superset.md
summary: Deploy Apache Superset with AI on Blossom. Explore your reporting data and
  save a private dashboard backed by managed PostgreSQL.
categories:
- deployment
- analytics
stack:
- Python
- Flask
- TypeScript
- React
- PostgreSQL
---

# Deploy Apache Superset with AI on Blossom

[Apache Superset](https://superset.apache.org/) connects to SQL databases
so you can explore data and turn queries into charts and dashboards.

| Part | Purpose |
|---|---|
| Superset | Runs SQL Lab, the chart editor, and dashboards on App Capacity |
| Managed PostgreSQL | Stores logins, saved charts, dashboards, and connection settings |
| Reporting database | Holds the data you query from Superset |

![Superset displays a sample checkout dashboard.](/deploy/assets/images/apache-superset/dashboard.webp)

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

Choose a maintained [Superset image with the PostgreSQL driver](https://superset.apache.org/admin-docs/installation/docker-builds/)
for your Location. Set `SQLALCHEMY_DATABASE_URI` from the private
`DATABASE_URL` in `superset_config.py`. Set a strong, stable
`SUPERSET_SECRET_KEY` as a private runtime variable and use it as
`SECRET_KEY` in that configuration. Enable `ENABLE_PROXY_FIX` for
Blossom's HTTPS proxy.

Run `superset db upgrade` and `superset init` in a Release Phase Hook with
the same configuration. Create the initial admin with a private credential.
Run the web Service on port `8088` with a probe at `/health`.

    blossom profile:show
    blossom app:create --data app.yml
    blossom environment:create --data environment.yml
    blossom database_instance:create --data database_instance.yml --follow
    blossom environment_link:create --data environment_link.yml
    blossom env_var:push --environment environment-100 --file .env.production
    blossom service:create --data service.yml
    blossom environment:deploy_hooks:update --id environment-100 --data deploy_hooks.yml
    blossom environment:deploy --id environment-100 --follow

</details>

## Ask Your Agent

> **Ask your AI agent:** Deploy Superset on Blossom and help me build a private dashboard from sample data.
>
> Follow this guide: https://blossom88.com/deploy/apache-superset/

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

## Build a Dashboard

Keep Superset behind Blossom Account access and Superset sign-in. Add a
separate reporting connection with read access to the tables you need.
Start in SQL Lab, save a dataset, and add a chart to a dashboard.

## What You Get

- A private HTTPS dashboard and SQL Lab workspace
- Saved dashboards and users in managed PostgreSQL
- A separate connection to the data you want to explore
