GitHub user dosubot[bot] added a comment to the discussion: embedding superset
<!-- Answer --> When embedding a Superset dashboard, you need the UUID from the embedded dashboard configuration (the "EmbeddedDashboard UUID"), not just the dashboard's own UUID. Superset keeps embedding configs in a separate table, each with its own UUID. The embedding endpoints and SDKs expect this EmbeddedDashboard UUID, which you can fetch via the API at `/api/v1/dashboard/<id_or_slug>/embedded`—this returns the correct UUID to use for embedding. The dashboard's UUID or slug is used to manage or retrieve the embed config, but the actual embedding uses the EmbeddedDashboard UUID as the identifier in URLs and tokens. This separation allows for flexible and secure embedding setups. [Reference](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset/models/embedded_dashboard.py) [API usage](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset/dashboards/api.py) <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/f5d49630-e3cb-4005-a104-632fd3615c11?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/f5d49630-e3cb-4005-a104-632fd3615c11?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/f5d49630-e3cb-4005-a104-632fd3615c11?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/f5d49630-e3cb-4005-a104-632fd3615c11?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/f5d49630-e3cb-4005-a104-632fd3615c11?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/f5d49630-e3cb-4005-a104-632fd3615c11?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/f5d49630-e3cb-4005-a104-632fd3615c11?feedback_type=other)</sup> [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github)& nbsp;[](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/discussions/35239) GitHub link: https://github.com/apache/superset/discussions/35239#discussioncomment-14482920 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
