Skip to content

Embedded analytics for B2B SaaS

Embedded analytics that feels like your product

Give customers dashboards, self-service reporting, and governed AI inside your product, with your branding and tenant-level access controls.

Your application. Reporting powered by Databrain.Illustrative dashboard · Sample data

From your warehouse to embedded dashboards in three steps

Connect your data, define what matters, and bring reporting into your product.

  1. Connect your data

    Connect your warehouse with read-only access. Keep your data where it already lives.

  2. Define your metrics

    Set up shared metric definitions and customer access rules in your semantic layer.

  3. Embed in your product

    Add the dashboard component and pass a guest token generated by your backend.

Start building

The Databrain embedded analytics SDK uses web components to render dashboards in React, Vue, Angular, or plain JavaScript.

Make analytics part of your product’s value

More useful reporting for your customers. More room to build for your team.

Speed up product development

Give engineering time back to your core product by reducing custom dashboard and reporting work.

Increase customer engagement

Let customers explore their data and answer questions without leaving your product or asking your team for a report.

Monetize your data

Package advanced reporting into paid plans and create more value for customers as their needs grow.

Embedded analytics software built for your product

Launch it, make it yours, and grow it with your customers.

Ship customer-facing reporting sooner

Start with the dashboard your customers need. Use the builder and SDK to bring it into your product, with implementation support from the Databrain team.

  • Low-code dashboard building
  • Framework-specific integration guides
  • Support through setup and launch
Explore the developer toolkit →
Your backend provides the customer’s guest token.

Make every dashboard feel native

White-label analytics should feel like a natural part of your application. Match dashboards and customer-facing reports to your product’s visual language.

  • Your colors, fonts and chart styling
  • Layouts tailored to your product
  • Branded reports and email delivery
Explore white-label analytics →
One reporting experience. Styled for each brand.
Illustrative themes · Sample data

Give each customer the right data

Scope embedded sessions to the customer using guest tokens and data-access rules. Connect to your warehouse with read-only access while keeping your tenancy model in place.

  • Tenant-scoped guest tokens
  • Row-level and column-level controls
  • Metadata-based configuration
Explore embedded analytics security →
The same dashboard, scoped to each customer.
Illustrative records

Reuse dashboards across customers

Build on shared dashboard and metric definitions. Adapt access and presentation for each customer without maintaining a separate reporting codebase for every account.

  • Reusable dashboards and metric definitions
  • Customer-specific configurations
  • Flat, feature-based pricing
See plans and pricing →
A shared foundation. Each customer’s own view.
Illustrative configuration

AI insights for customers.
MCP workflows for builders.

One governed layer for customer questions and developer workflows.

Ask governed questions in your product

Let customers ask in plain English and receive answers grounded in approved metrics, business definitions, and their permitted data.

Illustrative answer · Sample data
Explore governed AI analytics →

Build embedded analytics with MCP

Let developers configure embeds, apply themes, and generate integration code through their AI assistant while Databrain renders the finished experience.

Illustrative developer workflow
Explore the MCP server →

Built for both sides of your product team

Databrain serves the people who shape the roadmap and the engineers who bring it to market.

Product & Growth

Ship analytics that drive revenue

Turn customer-facing reporting from a backlog item into a product capability customers value.

Customer demand becomes native embedded analytics in two to four weeks.
  • Launch customer-facing analytics in 2–4 weeks
  • Support product stickiness and retention goals
  • Make reporting billable without adding engineering debt
Engineering & Data

Build once, serve thousands of tenants

Use one semantic layer and one embed framework with secure tenant isolation already built in.

One governed embed connects your warehouse to isolated customer tenants.
  • Reduce BI tickets and one-off chart requests
  • Power dashboards, AI, and self-service from one layer
  • Keep every tenant isolated and every query auditable

Your embedded analytics questions, answered

How does embedded analytics work?

Embedded analytics works by connecting an analytics layer to your data, defining what each customer may see, and rendering the result inside your product. With Databrain, you connect your warehouse with read-only access, model a datamart with your tenancy rules, and build dashboards in the builder. You then add a web component such as dbn-dashboard to your app, your backend requests a guest token for each user, and every query runs live against your warehouse, scoped to that customer.

How does Databrain keep each customer's data separate?

Databrain scopes every embedded session to one tenant through a guest token your backend requests from the Databrain API with that tenant's ID. For metrics built in the visual builder, the tenant filter is injected into the generated SQL at query-build time; custom SQL metrics reference an explicit tenant variable. A request from the browser cannot widen the scope the token was issued for. Databrain supports database-per-tenant, schema-per-tenant and shared-table tenancy models.

Does Databrain embed dashboards with an iframe or web components?

Databrain embeds with web components, dbn-dashboard and dbn-metric, which render inside a Shadow DOM in your page instead of an iframe. Dashboards sit in your layout and are styled through Databrain themes and component options, isolated from your page's CSS. Databrain publishes guides for React, Next.js, Vue, Angular, Svelte, Solid and vanilla JavaScript; Angular, Vue, Svelte and vanilla hosts add react and react-dom as dependencies. An iframe option exists but is documented as not recommended.

How fast are embedded analytics dashboards?

Databrain dashboards load as fast as your warehouse answers the underlying queries, because each chart query is pushed down and runs live against your database. To keep repeat loads fast, Databrain can cache query results per workspace with an expiry you set, in its managed Redis or in your own Redis or ElastiCache instance. For large tenants, warehouse design such as sort keys, partitioning and a read replica for Postgres remains the biggest lever.

What do we need before embedding Databrain?

To embed Databrain you need a connected data source, at least one dashboard, a decided tenancy model, and every domain your app runs on, including localhost and staging, added to the Data App's allow list. Your backend also needs an endpoint that requests a guest token from the Databrain API for each signed-in user; API and app tokens must never reach the browser. The quickstart walks through a sample embed before you wire up production.

What are some examples of embedded analytics?

The most common example of embedded analytics is a customer-facing reporting module inside a B2B SaaS product, where each customer sees dashboards on its own activity without leaving the app. Databrain customers show the range: SpotDraft added customer-facing reporting to its contract platform, Freightify built a logistics analytics module, Spendflo replaced in-house analytics on its procurement platform, EpochOS gives mortgage brokers natural-language insights, and BerryBox delivers risk analytics to HR teams and insurance brokers.

See embedded analytics in your product

Walk through your reporting needs, your data, and your tenancy model with the team that helps you launch.

A 30-minute conversation with the Databrain team.

Subscribe to our newsletter

Product news and new charts. No spam, unsubscribe anytime.

You're in. A welcome email is on its way.

That did not go through. Check the email and try again.