Create a Metabase Connection

White Label Data allows you to embed a Metabase iFrame inside your application. You can find your Metabase Embed Key by following the instructions on this page.

Example appconfig.json:

 "connections" : [
        {
            "type" : "metabase",
            "env_var" : "METABASE_SECRET"
        }
    ]
Option Example Description
host “metabase.acme.com” DNS name of your Metabase server
env_var "METABASE_SECRET" Name of environment variable that will hold the Metabase Secret. You can find your Metabase Embed Secret by publishing your dashboard and looking at the code preview that is generated. However, White Label Data will automatically generate this code for you.

Note: You must also add this environment variable to your environment settings for your instance. See “Adding connection environment variables to your local development environment” here.