Embedding is available to all Lightdash Cloud users, get in touch to have this feature enabled in your account.
Overview
Dashboard embedding allows you to display full Lightdash dashboards in your application with multiple visualizations, filters, and interactive features. This is ideal when you want to provide comprehensive analytics views to your users.When to use dashboard embedding
- Executive dashboards: Display multiple KPIs and metrics in admin panels
- Customer-facing analytics: Provide analytics portals for SaaS customers
- Embedded reporting: Integrate comprehensive data views into your workflows
- Multi-chart views: Show related visualizations together with shared filters
Key features
- Multiple chart tiles and markdown content
- Dashboard-level filters (interactive if enabled)
- Multiple tabs for organizing content
- Parameters support
- Export options (CSV, images, PDF)
- Date zoom for time-series charts
- “Explore from here” to navigate to query builder
- View underlying data for any visualization
Setup
Configure allowed dashboards
Only dashboards explicitly added to the “allowed dashboards” list can be embedded. Navigate to Settings → Embed and add your dashboard.
Configuring interactivity
Control what users can do with your embedded dashboard by configuring interactivity options. These options work for both iframe and React SDK embedding methods and are set in the JWT token. While the SDK options are configured via React props, iframe options are configured in the admin UI where you setup the embedding:
Dashboard filters
Dashboard filters allow users to slice and filter data across all charts in the dashboard. You can control whether users can interact with these filters, which filters they can modify, and whether the filter UI is visible. Configure in JWT token:'all'- All dashboard filters are interactive and visible'some'- Only specified filters are interactive (useallowedFiltersarray)'none'- Filters are applied but not visible or editable
Parameters
Parameters are dynamic values that can be referenced in your queries and filters. When enabled, users can modify parameter values to change what data is displayed across the dashboard. Configure in JWT token:Export options
Allow users to export data and visualizations from the embedded dashboard. You can control which export formats are available. Configure in JWT token:- CSV - Download raw data from individual charts
- Images - Export charts as PNG images
- PDF - Export the entire dashboard page as a PDF document
Date zoom
Date zoom allows users to dynamically change the time granularity of time-series visualizations (e.g., view by day, week, month, quarter, year) without modifying the underlying query. Configure in JWT token:Explore from here
“Explore from here” allows users to navigate from a dashboard chart into the full query builder interface, where they can modify dimensions, metrics, filters, and create ad-hoc analyses starting from the chart’s configuration. Configure in JWT token:View underlying data
View underlying data shows users the raw data table behind any visualization, making it easy to inspect the actual values and records that create the chart. Configure in JWT token:Complete configuration example
iframe embedding
iframe embedding is the simplest way to embed dashboards. No special libraries or dependencies required.URL structure
Generate JWT token
Embed in HTML
React SDK
The React SDK provides seamless integration with additional features like programmatic filters, callbacks, and styling.See the React SDK reference for installation, setup, and complete configuration options.
Basic usage
Component props
Advanced example with filters
Advanced features
User metadata for analytics
Pass user information to track who’s viewing your embedded dashboards.Custom styling (SDK only)
Apply custom styling to match your application’s design.Localization (SDK only)
Translate embedded dashboards using thecontentOverrides prop. See React SDK localization for details.