---
title: "Metabase template"
description: "Analytics with its own PostgreSQL database."
path: "/templates/metabase/"
---

# Metabase

Analytics with its own PostgreSQL database.

One command creates the Metabase app and a PostgreSQL database, then connects them. The app gets a public address.

## Install

Run it in the environment you want. The command waits until the public address responds.

```
dflow templates:install metabase
```

One app and one PostgreSQL database.

## Application

- Name: metabase
- Image: metabase/metabase:v0.65.6.3
- Port: 3000
- Replicas: 1
- Memory: 2048 Mi
- Address: Public route

## Database

- Name: metabase-db
- Engine: PostgreSQL
- Database: metabaseappdb
- Storage: 1Gi

## How they connect

- The database host, port, user, password, and name come from metabase-db.
- dFlow generates the encryption key and the session key.