docs/content/product/embedding/private-embedding.mdx
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.
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.
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>
To embed a dashboard:
Then paste the iframe code into your application.
To embed a Cube dashboard in Notion:
https://your-account.cubecloud.dev/embed/dashboard/OwVQpbdaZmBT
/embed and select EmbedWhen team members open the Notion page, they'll be prompted to sign in with their Cube credentials if not already authenticated.
To embed Cube analytics in Salesforce:
<apex:page>
<iframe
src="https://your-account.cubecloud.dev/embed/dashboard/OwVQpbdaZmBT"
width="100%"
height="800"
frameborder="0"
></iframe>
</apex:page>
Private embedding uses Cube's built-in authentication. Users must:
Access control is managed through your existing Cube roles and permissions settings.