Version v0.53 of Metabase is no longer supported. Check out the docs for the current stable version, Metabase v0.63.
Embedded analytics SDK - plugins
Embedded analytics SDK is only available on Pro and Enterprise plans (both self-hosted and on Metabase Cloud).
The Metabase Embedded analytics SDK supports plugins to customize the behavior of components. These plugins can be used in a global context or on a per-component basis.
Global plugins
To use a plugin globally, add the plugin to the MetabaseProvider’s pluginsConfig prop:
<MetabaseProvider
authConfig={authConfig}
theme={theme}
pluginsConfig={{
mapQuestionClickActions: () => [], // Add your custom actions here
}}
>
{children}
</MetabaseProvider>
Component plugins
To use a plugin on a per-component basis, pass the plugin as a prop to the component:
<InteractiveQuestion
questionId={1}
plugins={{
mapQuestionClickActions: () => [],
}}
/>
Further reading
Read docs for other versions of Metabase.