Sometimes you’ll want to share a dashboard or question with someone who isn’t a part of your organization or company. To share your work with people who don’t need access to your full Metabase instance, you can create public links and public embeds.
Enable public sharing in Metabase
In order to share Metabase items like questions and dashboards via a public link or an embedded iframe, an admin needs to enable public sharing for that Metabase instance by going to Settings gear icon > Admin settings > Public sharing.
Once toggled on, the Public sharing section will display Metabase questions and dashboards with active public links. To deactivate a public link, click Revoke link.
Enable sharing on your saved question or dashboard
Once public sharing is enabled for your Metabase, you’ll find the Sharing and embedding icon on saved questions and dashboards (it looks like a box with an arrow pointing to the upper right).
You can find the Sharing and embedding icon icon at the bottom right corner of a question, or the top right corner of a dashboard.
To enable public sharing on a question or dashboard, click on the Sharing and embedding icon icon to bring up the sharing settings modal, then click on the toggle.
For more information about the option to Embed this item in an application, see the docs on signed embedding.
Once you’ve enabled sharing on your question or dashboard, you can copy and share the public link URL with whomever you please. The public link URL will display static (view-only) results of your question or dashboard, so visitors won’t be able to drill-down into the underlying data on their own.
If you want to create a drill-down pathway on your question or dashboard, you can set up a custom destination that goes to the public link of another question or dashboard.
Public link to export question results in CSV, XLSX, JSON
The export option is only available for questions, not dashboards.
To create a public link that people can use to download the results of a question:
- Click on the Sharing and embedding icon for the question.
- Click the toggle to enable sharing.
- Click on the file format you want (below the Public link URL).
- Open the public link in a new tab to test the download.
If you want to embed your question or dashboard in a simple web page or blog post:
- Click on the Sharing and embedding icon for your question or dashboard.
- Click the toggle to enable sharing.
- Copy the Public embed iframe snippet.
- Paste the iframe snippet in your destination of choice.
To customize the appearance of your question or dashboard, you can update the link in the
src attribute with public embed parameters.
Public embed parameters
To apply appearance or filter settings to your public embed, you can add parameters to the end of the link in your iframe’s
Note that it’s possible to find the public link URL behind a public embed. If someone gets access to the public link URL, they can remove the parameters from the URL to view the original question or dashboard (that is, without any appearance or filter settings).
If you’d like to create a secure embed that prevents people from changing filter names or values, check out signed embedding.
To toggle appearance settings, add hash parameters to the end of the public link in your iframe’s
For example, to embed a dashboard with a dark theme, original title, and no border:
|Parameter name||Possible values|
|theme||null, transparent, night|
¹ Available on paid plans.
² Available on paid plans and hides the download button on questions only (not dashboards).
For more info about
hide_parameters, see the next section on Filter parameters.
To apply a filter to your embedded question or dashboard, add a query parameter to the end of the link in your iframe’s
src attribute, like this:
For example, say that we have a dashboard with an “ID” filter. We can give this filter a value of 7:
To set the “ID” filter to a value of 7 and hide the “ID” filter widget from the public embed:
To specify multiple values for filters, separate the values with ampersands (&), like this:
You can hide multiple filter widgets by separating the filter names with commas, like this:
Note that the name of the filter in the URL should be specified in lower case, and with underscores instead of spaces. If your filter is called “Filter for User ZIP Code”, you’d write: