Embedding
Cube provides multiple approaches for embedding analytics into your applications. Choose the method that best fits your use case and technical requirements.
Iframe-based embedding
Available on Premium and Enterprise plans (opens in a new tab).
Embed Cube content using iframes for the fastest integration with minimal code. This approach works with any frontend framework and requires no additional dependencies.
Iframe embedding supports dashboards, analytics chat, and the full Cube application in creator mode.
Authentication options:
- Private embedding – For internal use cases where users authenticate with their Cube accounts
- Signed embedding – For customer-facing applications using JWT tokens for seamless authentication
React component-based embedding
Available on Premium and Enterprise plans (opens in a new tab).
Embed Cube using the React Embed SDK for tighter integration with your React applications. Components provide more control over styling, theming, and user interactions.
API-based embedding
Build fully custom embedded analytics experiences using Cube APIs directly. This headless approach gives you complete control over data fetching, visualization, and user interface.
Chat API
Use the Chat API to build custom conversational analytics experiences. This API-first approach lets you programmatically integrate AI-powered conversations with your data, giving you full control over the chat interface and user experience.
Core Data APIs
Use the Core Data APIs to build fully custom visualization, reporting, and dashboarding experiences.