Bruin Dashboards Step 2 of 5
Migrate Metabase Dashboards to Bruin
Create the target directory and connection
Create a small migration directory if you do not already have a DAC project. The importer writes the dashboard YAML to the output path you choose.
mkdir -p metabase-migration/dashboards metabase-migration/.artifacts
cd metabase-migration
DAC executes the imported widgets through a Bruin connection. Point it at the same reporting data that Metabase uses, not a stale copy with a different refresh schedule. This simplified .bruin.yml example names a Postgres connection analytics:
default_environment: default
environments:
default:
connections:
postgres:
- name: analytics
host: analytics.internal.example
port: 5432
database: warehouse
username: dashboard_reader
password: ${ANALYTICS_DB_PASSWORD}
ssl_mode: require
Keep credentials outside Git. Use your normal secret-management approach for ANALYTICS_DB_PASSWORD and give the dashboard account only the schemas it needs.