Embedded analytics

Trusted analytics, inside your product.

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

DDataira
Embedded demo

Revenue intelligence

Powered by Dataira

LIVE

Which plans drove revenue growth this quarter?

Growth plans contributed the largest absolute increase, while Starter led in percentage growth.

Starter$184,320+18.4%
Growth$126,880+11.2%
Enterprise$92,410+8.7%
SQL inspected · 3 tables · 1.2s

Choose your surface

Start complete. Customize when the product demands it.

One gateway contract supports a ready-made workspace, composable React components, and a headless client.

01

Complete workspace

Drop in navigation, chat, saved metrics, dashboards, search, and exports with DatairaInsights.

02

Composable UI

Use the same hooks and primitives to fit analytics into the workflows and layout your customers already know.

03

Headless control

Keep every pixel in your own design system while the framework-agnostic client owns resources and state.

Two boundaries

A server credential never becomes a browser credential.

Your backend authenticates the customer and mints a short-lived token. The browser receives only that scoped token.

01 · Your backendTypeScript
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,
});
02 · Your React appTypeScript
<DatairaProvider
  baseUrl="https://api.dataira.ai"
  getToken={() => fetch("/api/dataira-token")
    .then((response) => response.json())
    .then(({ token }) => token)}
>
  <DatairaInsights />
</DatairaProvider>

Trust boundary

Your identity model remains the source of truth.

Dataira does not require your customers to create another account or hand reusable credentials to the browser.

  1. 01

    Partner backend

    Authenticates the customer and keeps the environment API key server-side.

  2. 02

    Scoped token

    Fixes the end user, organization, datasource, and allowed data slice for 15 minutes.

  3. 03

    Dataira gateway

    Validates every request, query scope, and resource boundary before execution.

  4. 04

    Your datasource

    Stays governed by read-only credentials, policy, and an inspectable SQL trail.

See the whole workflow

Ask a question. Save the answer. Shape a dashboard.

The public sandbox runs the same React SDK your product installs, against a governed sample dataset.