Widget & Dashboard Integration

How UPTIQ Business Health widgets and the Business Health Dashboard authenticate your users via SSO — compare Component Auth and Get Token to pick the right approach.

UPTIQ Business Health brings business health insights into your own platform in two ways:

  • Widgets — individual components (Accounts, Credit Score, Cash Flow Forecast, and others) embedded directly into your pages.
  • Business Health Dashboard — the full dashboard experience, embedded as an iframe.

In order to show a specific user's data in Business Health, both approaches require a signed-in session for that user. This section explains how Business Health authenticates your users via Single Sign-On (SSO), so they never have to create or remember a separate Business Health password.

Domain Whitelisting Required

Embedding individual widgets and/or the iframe Dashboard requires your domain(s) to be whitelisted with Business Health beforehand. Provide UPTIQ with the domain(s) you'll be embedding from as part of your integration setup.

Two Ways to Set Up SSO

Get TokenComponent Auth
Works forWidgets and the full DashboardWidgets only
Who initiates the handshakeYour backend, before the page loadsThe widget itself, from the browser
What you buildA signed API call your backend makes to Business HealthAn endpoint Business Health calls to verify the user and return their details
Request signingHMAC-SHA-256None
Best fit when...You want your backend to fully control the handshake, or you're embedding the full DashboardYou want the widget to trigger SSO on its own, using auth parameters already available on the page

Both approaches produce the same result: a Business Health access token (JWT) that widgets and the Dashboard use to communicate with Business Health on the user's behalf, and both create or update the user's Business Health account from the same underlying data — see SSO Payload for that shared schema.

Flow Diagram

flowchart TD
    A[User logs in to<br/>User Platform] --> B{SSO handshake}
    B -->|Get Token| D[Backend-initiated —<br/>see Get Token Flow]
    B -->|Component Auth| C[Widget-initiated —<br/>see Component Auth Flow]
    D --> E[Business Health creates/updates<br/>User & Company, issues JWT]
    C --> E
    E --> F[Widgets and/or Dashboard render,<br/>using the JWT]

    F -.optional.-> G[User Platform Data:<br/>Business Health pulls data directly<br/>from the User Platform]
    F -.optional.-> H[Third-Party App Data:<br/>user connects an external app<br/>via the App Connector widget]

    style G stroke-dasharray: 5 5
    style H stroke-dasharray: 5 5

Did this page help you?