01
Complete workspace
Drop in navigation, chat, saved metrics, dashboards, search, and exports with DatairaInsights.
Embedded analytics
Give every customer an analyst that understands their data. Ship chat, reusable metrics, and dashboards while your product keeps control of identity, permissions, and presentation.
React · Headless client · Server SDK
Revenue intelligence
Powered by Dataira
Which plans drove revenue growth this quarter?
Growth plans contributed the largest absolute increase, while Starter led in percentage growth.
Choose your surface
One gateway contract supports a ready-made workspace, composable React components, and a headless client.
01
Drop in navigation, chat, saved metrics, dashboards, search, and exports with DatairaInsights.
02
Use the same hooks and primitives to fit analytics into the workflows and layout your customers already know.
03
Keep every pixel in your own design system while the framework-agnostic client owns resources and state.
Two boundaries
Your backend authenticates the customer and mints a short-lived token. The browser receives only that scoped token.
const dataira = new Dataira({
apiKey: process.env.DATAIRA_API_KEY,
baseUrl: "https://api.dataira.ai",
});
return dataira.createToken({
endUserId: user.id,
datasourceId: process.env.DATASOURCE_ID,
scopeColumn: "customer_id",
scopeValue: user.customerId,
});<DatairaProvider
baseUrl="https://api.dataira.ai"
getToken={() => fetch("/api/dataira-token")
.then((response) => response.json())
.then(({ token }) => token)}
>
<DatairaInsights />
</DatairaProvider>Trust boundary
Dataira does not require your customers to create another account or hand reusable credentials to the browser.
01
Authenticates the customer and keeps the environment API key server-side.
02
Fixes the end user, organization, datasource, and allowed data slice for 15 minutes.
03
Validates every request, query scope, and resource boundary before execution.
04
Stays governed by read-only credentials, policy, and an inspectable SQL trail.
See the whole workflow
The public sandbox runs the same React SDK your product installs, against a governed sample dataset.