Seamlessly embed interactive Bold BI dashboards into your applications, portals, or SaaS platforms. This guide explains the embedding methods available and how to implement them using best practices.
Embedding dashboards into your application allows you to:
Bold BI offers two primary methods for embedding dashboards.
The JavaScript SDK provides:
Example
BoldBI.create({
serverUrl: "<Bold BI Server URL>",
dashboardId: "<Dashboard Id>",
embedContainerId: "<Embed Container Id>", // Div ID where the dashboard renders
embedToken: "<Embed token generated from backend server>"
});
IFrame Embedding is:
Example
<iframe src='http://localhost:51777/bi/site/site1/dashboards/9e940aa3-8061-4576-9286-c81e4fdcc4c2/Embed/testembed?isembed=true'
id='dashboard-frame'
width='100%'
height='100%'
allowfullscreen
frameborder='0'>
</iframe>
Feature | JavaScript SDK | iFrame Embedding |
---|---|---|
Customization | High – full API control (layout, filters, events) | Limited – appearance and theme only |
Interactivity | Full – Supports events and dynamic filters | Limited |
Ease of Use | Moderate – requires coding | Very Easy – embed URL only |
Token based Security | Supported | Supported (via URL or embed secret) |
Event Handling | Supported | Not supported |
Ideal For | SaaS, developers teams | Internal tools, portals, blogs |
Bold BI supports both cloud and enterprise deployment models, with full embedding support:
Deployment Model | Description |
---|---|
Cloud(Hosted) | Managed by Syncfusion. Best for teams needing a quick, fully managed setup. |
Enterprise(Self-hosted) | Deploy on your infrastructure. Best for maximum control, security, and custom integrations. |
Bold BI uses token-based authentication to secure embedded dashboards:
Key Benefits
Scenario | Recommended Method |
---|---|
Internal analytics for teams | iFrame or JavaScript SDK (based on interactivity needs) |
SaaS app with per-user or per-tenant views | JavaScript SDK |
Public dashboards or blogs | iFrame Embedding |
Interactive dashboards with filters/events | JavaScript SDK |
Full admin portal embedding | iFrame Embedding |