You can embed Lightdash content in your website or application securely using Lightdash embedding.
Generate new secret
button. If you do this, people with an old URL will automatically lose access to any previously shared embed URL.
allowed dashboards
can be accessed using embed URLs. To embed a dashboard, you need to first add it to the allowed dashboards
list.
You can use the Allow all dashboards
toggle to skip the dashboard selection process. When enabled, it overrides the allowed dashboards
setting, allowing embed URLs to be generated for any dashboard in your project.
allowed dashboards
list appear here.
secret
to make sure people can’t be using embed URLs outside your app.
download button
is accessible from the ...
options menu located in the top right corner when hovering over the chart tile.
preview
allows you to preview the configuration for your embedded dashboard. This what people viewing your embedded dashboard will see.
generate & copy url
will generate an embed URL based on the configuration that you’ve set.
You can embed this one-off URL directly into your application, but you will manually need to update the URL each time the embed URL expires. Alternatively, you can add the code snippet to your app to automatically generate embed URLs in your application.
secret
to make sure people can’t be using embed URLs outside your app.
To make this easier to integrate, we included some code snippets you can copy and use in your app to generate a valid embed URL.