# Deploy Superset with the superset template

Source: https://docs.quake.ai/resources/deployments/deploy-superset-template
Markdown: https://docs.quake.ai/resources/deployments/deploy-superset-template.md

---

# Deploy Superset with the superset template

Stand up [Apache Superset](https://superset.apache.org) on a single Quake AI instance using the [validated OpenTofu template](/docs/platform/validation#how-infrastructure-templates-are-checked) `superset`. You run it yourself; this is a self-hosted tool you operate, not a managed service.

<PricingCompanion components={[{ kind: "template", slug: "superset", required: true }]} />

## Step 1: Apply the template

Set `key_name` and `ui_allowed_cidr = "YOUR_IP/32"` in `terraform.tfvars`, then run `tofu init`, `tofu plan`, and `tofu apply`.

## Step 2: Sign in

Read bootstrap credentials from `/opt/superset/.bootstrap-admin` on the instance, open `ui_url` (port 8088), and sign in.

## Step 3: Connect a warehouse

Add a database connection in Superset **Settings** pointing at your [self-managed PostgreSQL](/resources/iac-templates/self-managed-postgres) warehouse.

## Clean up

Run `tofu destroy` when finished.

## Next steps

- [Apache Superset template](/resources/iac-templates/superset)
- [Deploy self-managed PostgreSQL](/resources/deployments/deploy-self-managed-postgres-template)
