This guide provides detailed instructions for embedding 5X Business Intelligence (5X BI) dashboards into your applications. 5X BI, powered by Apache Superset, enables you to seamlessly integrate powerful data visualization capabilities into your applications using our secure embedding framework.
Prerequisites
Required Access
Active paid subscription to 5X platform
BI module enabled for your account
API key from the 5X team
Technical Requirements
Backend server to handle API calls
Frontend web application
Secure HTTPS environment
Modern web browser
Quick Start
Follow these steps to quickly embed a dashboard:
Enable embedding for your dashboard in 5X BI
Implement the backend endpoint for guest token generation
Add the embedding code to your frontend
Test the implementation
Detailed Implementation Guide
1️⃣ Dashboard Configuration
Enable Embedding
Navigate to your dashboard in 5X BI
Click "..." (three dots) in the top right
Select "Embed Dashboard"
Configure allowed domains
Enable embedding toggle
Save changes
Domain Configuration
Add specific domains where embedding is allowed
Format: https://app.yourcompany.com
Wildcard supported: *.yourcompany.com
Always use HTTPS URLs
2️⃣ Backend Implementation
The BI embed capability used guest tokens to authenticate into the BI instance. A server side flow for fetching the guest token from 5X needs to be implemented. From your server, a call needs to be made to the POST