Skip to main content

Installation

Step 1: Get a partner token

Contact team@cove.dev to receive your partner_token. This token is used server-side to mint short-lived embed tokens.

Step 2: Exchange partner token for an embed token

Call this endpoint from your backend. The externalUserEmail is the email of the agent who will view the dashboard.
Response:

Step 3: Embed the dashboard

Fetch a fresh embed token from your backend each time the user opens the dashboard, then mount the component.
Next.js: Add 'use client' at the top of any file that renders CoveEmbeddedDashboard.

Important notes

  • Keep partner_token server-side only. Do not expose it in browser code.
  • Call mint-embed-token each time the dashboard loads to get a fresh embed_token.

Environments

DashboardAPI
Sandboxsandbox.cove.devsandbox-api.cove.dev
Liveapp.cove.devapi.cove.dev