NxInsights Logo
For builders

Put NxInsights inside your own product

@nxinsights/websdk embeds a live data board directly in your app — no iframe, no rebuilding your own charting layer, and it doesn't track your users to do it. It renders a dashboard you already built; it doesn't collect anything from the page it's embedded in.

  1. 1

    Build a data board in NxInsights

    Connect your data and put together the board you want your customers to see — same as any other data board in your workspace.

  2. 2

    Install the SDK

    npm install @nxinsights/websdk, or drop in a script tag — no build step required either way.

  3. 3

    Point it at a container

    Call NxInsights.init() with your workspace ID and the board to render. It mounts into a shadow DOM, so your app's styles and the embed's styles never collide.

your-app.js
npm install @nxinsights/websdk
init
import "@nxinsights/websdk";

NxInsights.init({
  domTarget: "#dashboard",
  defaultDataboardId: "revenue-overview",
  clientId: "<your-workspace-id>",
});

No visitor tracking

The embed renders your board; it doesn't collect anything about the people viewing it.

Themeable

Runs in a shadow DOM and takes theme/filter messages from your page, so it can match your product.

Ask-in-place, optional

Turn on the toolbar to let your own users ask follow-up questions of the embedded board directly.

Start embedding for free

Free to start. No credit card required.

Get started free