Skip to main content
Embed live WisdomAI dashboards directly inside your own React application. The SDK renders Wisdom’s interactive analytics: charts, metrics, tables and filters as native React components in your DOM (no iframe). They flow with your layout and inherit your theming, placed inside your own pages like any other component.

What you can do today

  • Embed a full dashboard: Drop an entire Wisdom dashboard into a page with a single component.
  • Embed a single widget: Render one chart, metric, or table on its own and place it anywhere in your UI.
  • Brand-native widget cards (advanced): Render a widget’s visualization without Wisdom’s built-in card chrome and wrap it in your own container (see Components).
  • Interactive analytics: Charts, time series, stacked breakdowns, data tables, and KPI metrics, all fully interactive (zoom, tooltips, export-to-data).
  • Filtering: Show Wisdom’s built-in filter bar, or drive filters from your own application state.
  • Theming: Match the embedded content to your product’s colors, typography, and chart palette.
  • Multi-tenant ready: Issue per-user tokens so each of your end users only sees the data they’re entitled to.

Packages

The SDK is published publicly on the npm registry under the @wisdomai scope:
PackageRegistryUse
@wisdomai/reactnpmjs.com/package/@wisdomai/reactReact component library: providers, Dashboard, widgets, hooks. Runs in the browser.
@wisdomai/nodenpmjs.com/package/@wisdomai/nodeServer-side helper that exchanges your long-lived access token for a short-lived JWT the browser can safely use. Runs on your backend only.
Both packages are MIT-licensed and ESM-first.

How the docs are organized

Quickstart

Install, wire up auth, and render your first dashboard.

Components

Embed dashboards, single widgets, custom widget cards, and filters.

Authentication

The @wisdomai/node token exchange, WisdomProvider, and per-user (multi-tenant) tokens.

What’s coming

Dashboard consumption is available today. On the near-term roadmap:
  • Embedded chat & dashboard chat: Ask questions in natural language against your data, inline.
  • Authoring & app creation: Build and customize dashboards and analytics apps directly from the SDK.

FAQs

The current release is React. Web component and framework-agnostic support is on the roadmap.
WisdomProvider accepts a tokenProvider function that returns a JWT. Your backend controls token generation and expiry. No WisdomAI credentials are exposed in the browser.
Yes. JWT-based authentication carries the user’s identity, which WisdomAI uses to enforce row-level security. Each embedded user sees only their own data.
A tokenProvider that returns a fresh token on each call is the recommended pattern for long-lived sessions.
Yes. The iframe path remains available and unchanged. The SDK is an additive option for teams that need composability, theming, or programmatic filter control beyond what iframes support.
WisdomGlobalFilters renders the filters configured on the dashboard. Refs and callbacks give your application programmatic control over the filter state for tighter native integration.

Next steps

Quickstart

Set up the SDK and embed your first dashboard in minutes.

Components

Browse the React components available for embed a full dashboard, composable widgets, and filters.