Private embedding
Embedding is available on Premium and Enterprise plans (opens in a new tab).
Private embedding is designed for internal use cases where team members already have Cube accounts. Simply drop an iframe into your internal tools—no API keys or complex setup required. Users will authenticate with their existing Cube credentials when accessing embedded content.
How it works
To embed Cube content, you simply need to paste an <iframe> tag into your application or tool. Get the embed code and paste it wherever you want the content to appear.
Analytics Chat
The embed URL for Analytics Chat is always the same:
<iframe
title="Analytics Chat"
src="https://your-account.cubecloud.dev/embed/chat"
width="100%"
height="800"
></iframe>Dashboards
To embed a dashboard:
- Open your dashboard in Cube
- Click Share → Embed
- Copy the generated iframe code
Then paste the iframe code into your application.
Common Applications
Embedding in Notion
To embed a Cube dashboard in Notion:
- In Cube, open your dashboard and click Share → Embed
- Copy the embed URL (just the URL, not the iframe code):
https://your-account.cubecloud.dev/embed/dashboard/OwVQpbdaZmBT - In Notion, type
/embedand select Embed - Paste the URL when prompted
When team members open the Notion page, they'll be prompted to sign in with their Cube credentials if not already authenticated.
Embedding in Salesforce
To embed Cube analytics in Salesforce:
- Navigate to the Salesforce page where you want to add the dashboard
- Add a Visualforce Page component
- Use an iframe to embed your Cube dashboard:
<apex:page>
<iframe
src="https://your-account.cubecloud.dev/embed/dashboard/OwVQpbdaZmBT"
width="100%"
height="800"
frameborder="0"
></iframe>
</apex:page>Security
Private embedding uses Cube's built-in authentication. Users must:
- Have an active Cube account
- Be signed in to Cube (or will be prompted to sign in)
- Have appropriate permissions to view the embedded content
Access control is managed through your existing Cube roles and permissions settings.