Modular embedding components

Modular embedding gives you a handful of components you can drop into your app, with either web components or the React SDK. This page maps out the docs for each one.

While you can use attributes and props to show or hide parts of an embedded component, they’re not a substitute for permissions. Even if you hide stuff, people could still grab their token from the frontend and use it to query the Metabase API.

Dashboard

Embed a dashboard view-only, interactive, or editable, and let people create dashboards from your app.

Question

Embed a single chart, or the query builder and SQL editor so people can build questions from scratch.

Browser

Browser component is only available on Pro and Enterprise plans (both self-hosted and on Metabase Cloud).

Embed a browsable collection, so people can find and open dashboards and questions themselves.

AI chat

AI chat component is only available on Pro and Enterprise plans (both self-hosted and on Metabase Cloud).

Embed an AI chat, so people can ask questions of their data in natural language.

  • Embed an AI chat, for the <metabase-metabot> attributes, the MetabotQuestion props, and the useMetabot hook

Things you can only do with the React SDK

Web components cover the components above. A few features are React-only, because they take React components or hooks that an HTML attribute can’t carry. For those, use the Modular embedding SDK.

Further reading

Read docs for other versions of Metabase.

Was this helpful?

Thanks for your feedback!
Want to improve these docs? Propose a change.