Portal Community

How It Works

WorkDesk renders the Metrics Tile as an <iframe> with the Grafana panel URL as its src. Grafana handles its own authentication (anonymous access or SSO-shared session). The panel refreshes on its own Grafana-configured interval.

Approval Rate (30 days)
 Grafana panel renders here

Configuring the Metrics Widget

When adding a Metrics Tile, the configuration form asks for:

FieldRequired?Description
Grafana Panel URLRequiredThe full embed URL from Grafana's Share → Embed panel. Must be from your organization's Grafana instance.
Widget TitleOptionalOverride label shown above the iframe. If blank, uses the Grafana panel title.
HeightOptionaliframe height in pixels. Default: 200px. Increase for chart panels.

Getting the Grafana Panel URL

1

Open the Panel in Grafana

Navigate to the dashboard panel in BizFirstObserve (Grafana). Click the panel title → Share.

2

Go to the "Embed" Tab

In the Share dialog, click the Embed tab. Copy the URL from the <iframe src="..."> tag — this is the URL to paste in the Metrics Tile config.

3

Enable Anonymous Access or SSO

The Grafana instance must allow anonymous access for the panel, OR the employee's BizFirstAI SSO session must be shared with Grafana (configured by your platform admin).

Widget Config JSON

// MetricsTile widget configuration
{
  "id": "w-metrics-1",
  "type": "MetricsTile",
  "col": 0, "row": 1,
  "w": 2,   "h": 1,
  "config": {
    "grafanaUrl": "https://grafana.acme.com/d-solo/abc123/approval-metrics?orgId=1&panelId=4&from=now-30d&to=now&theme=dark",
    "title": "Approval Rate (30 days)",
    "height": 220
  }
}
CSP and Mixed Content

The Grafana URL must be from a domain in the WorkDesk Content Security Policy allowlist. Ask your IT admin to add your Grafana domain to the CSP. Also ensure Grafana is served via HTTPS — HTTP iframes are blocked by modern browsers.