Skip to main content
Private embedding is available on Premium and Enterprise plans.
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 session generation required. Users authenticate with their existing Cube credentials when accessing embedded content. Use private embedding to embed:
Private embedding does not support Creator Mode — use Signed embedding instead.

How it works

To embed Cube content with private embedding, paste an <iframe> tag into your application or tool. Get the embed code from Cube and paste it wherever you want the content to appear. When users open the page containing the iframe, they’ll be prompted to sign in with their Cube credentials if they’re not already authenticated. Access is then governed by their normal Cube roles and permissions.

Common applications

Embedding in Notion

To embed a Cube dashboard in Notion:
  1. In Cube, open your dashboard and click Share → Embed
  2. Copy the embed URL (just the URL, not the iframe code):
    https://your-account.cubecloud.dev/embed/dashboard/OwVQpbdaZmBT
    
  3. In Notion, type /embed and select Embed
  4. 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:
  1. Navigate to the Salesforce page where you want to add the dashboard
  2. Add a Visualforce Page component
  3. 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.