<Dashboard> component.
Requirements
Before you begin, ensure you have:- React 18+ and react-dom 18+
- MUI v7 (
@mui/material,@mui/x-date-pickers) — note the major version - Emotion 11 (
@emotion/react,@emotion/styled) - Highcharts 12 +
highcharts-react-official3 - GraphQL 16, Luxon 3
- ESM-only: use a modern bundler (Vite, Next.js, etc.)
- A reachable Wisdom
baseUrlover HTTPS
Integration
Follow these steps to get the SDK running in your app:1. Install
Run the following commands:2. Add the token-exchange endpoint
Your long-lived access token is a secret and must never reach the browser. Add a small backend endpoint that exchanges it for a short-lived JWT:/auth-token from the same origin as your frontend (or proxy it), so the browser request needs no extra CORS or credentials handling.
This is the minimum to get a token. For how the exchange works, per-user (multi-tenant) tokens, and token refresh, see Authentication.
3. Render a dashboard
Drop<Dashboard> inside WisdomProvider and pass your dashboard ID:
WisdomProvider fetches the JWT from /auth-token. That’s all you need to render a live, interactive dashboard.
For more ways to embed (single widgets, custom cards, filters), see Components.
Theming
Pass atheme object to WisdomProvider to match the embedded content to your product. Four keys are required; the rest are optional.
| Key | Required | Description |
|---|---|---|
primaryTextColor | Yes | Main text color (titles, values). |
secondaryTextColor | Yes | Muted text (axis labels, captions). |
background | Yes | Surface/background color. |
border | Yes | Border and divider color. |
fontFamily | No | Font stack for embedded content. |
chartColors | No | Array of colors used for chart series. |
Always pass an explicit
theme. Supplying the four required keys ensures the embedded components render with your brand rather than defaults.Next steps
Authentication
Secure your integration that keeps your access token on the server and out of the browser.
Components
Browse the React components available for embed a full dashboard, composable widgets, and filters.

