Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

459 B
Raw Blame
import {
  InteractiveQuestion,
  type MetabaseAuthConfig,
  MetabaseProvider,
  type MetabaseTheme,
} from "@metabase/embedding-sdk-react";

const authConfig = {} as MetabaseAuthConfig;
const theme = {} as MetabaseTheme;

const questionId = 1;

const Example = () => (
  // [<snippet example>]
  <MetabaseProvider authConfig={authConfig} theme={theme}>
    <InteractiveQuestion questionId={questionId} />
  </MetabaseProvider>
  // [<endsnippet example>]
);