Iframe embedding is available on Premium and Enterprise plans.
- Private embedding — for internal users with Cube accounts (e.g., embedding in Notion, Salesforce, internal tools)
- Signed embedding — for external/customer-facing applications using server-generated sessions
Embed with private embedding
To embed a dashboard for internal users:- Open your dashboard in Cube
- Click Share → Embed
- Copy the generated iframe code
Embed with signed embedding
To embed a dashboard for external/customer-facing applications, generate a session on your backend and pass the session ID into the iframe:Pre-set dashboard filters via URL
You can pre-set dashboard filter values by adding URL parameters in the format?f_<semantic_view>.<dimension>=<JSON>. The <semantic_view> and <dimension>
must match the internal names (not display titles) of the semantic view and
dimension configured on the filter widget. If the filter type is omitted, it
defaults to equals.
Example:
Allow CSV export
By default, embedded dashboards do not expose a download action on individual widgets. To let viewers download a chart widget’s data as a CSV file, add theallowExport=true query parameter to the embed URL:
Show or hide the AI chat
Embedded dashboards show an AI chat (the agent panel and its launcher bubble) by default. You can control it in two ways:- Globally, in the UI. Toggle Show dashboard chat under Embed → Settings in the Cube Cloud console. This switch is account-wide — it turns the AI chat on or off for the entire embedded surface, i.e. every embedded dashboard.
- Per session, via the API. Pass
settings.showDashboardChatwhen you generate the session. A per-session value takes precedence over the global toggle —falsehides the chat for that session even when it is enabled account-wide, andtrueshows it even when it is disabled:
Set the language
Embedded dashboards render their UI in the account’s default language, which you can override per embed by adding the?locale= query parameter: