

To make a question or dashboard embeddable, click the arrow icon at the bottom right. Once you’ve enabled the embedding feature on your Metabase instance, next you’ll want to set up individual questions and dashboards for embedding. You can also see all questions and dashboards that have been marked as embedded here, as well as revoke any questions or dashboards that should no longer be embeddable in other applications. If you ever need to invalidate that key and generate a new one, just click on Regenerate key. When you click Enable, you’ll see an Embedding secret key you can use later to sign requests. To enable embedding, go to the Admin Panel and select Embedding in other Applications from the left sidebar.

For example, if the Publisher ID is assigned a value and the request signed, that means the front-end client that renders that dashboard on behalf of a given logged-in user can only see information for that publisher ID. If you choose to sign a specific parameter value, that means the user can’t modify that value, nor is a filter widget displayed for that parameter. In general, when embedding a chart or dashboard, the server of your embedding application will need to sign a request for that resource. You could specify a specific productID when embedding the question. SQL-based questions with template variables can also accept parameters for each variable. For example, if you have a dashboard with a filter on Publisher ID, this can be specified as a parameter when embedding, so that you could insert the dashboard filtered down to a specific Publisher ID. In dashboards, these are synonymous with dashboard filters. Some dashboards and questions have the ability to accept parameters. The charts and dashboards you will be embedding live in the Metabase application, and will be embedded in your application (i.e. Key Concepts ApplicationsĪn important distinction to keep in mind is the difference between Metabase and the embedding application. You can even pass parameters to these embeds to customize them for different users. Metabase includes a powerful application embedding feature that allows you to embed your saved questions or dashboards in your own web applications. Embedding Metabase in other applications Embedding Metabase in other applications
