You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "amulya-mishra (via GitHub)" <gi...@apache.org> on 2023/05/03 09:32:40 UTC
[GitHub] [superset] amulya-mishra commented on issue #23875: Minimal settings to embed charts
amulya-mishra commented on issue #23875:
URL: https://github.com/apache/superset/issues/23875#issuecomment-1532719204
Can you try this approach?
In `superset/config.py` file:
1. In DEFAULT_FEATURE_FLAGS dict object, set 'EMBEDDED_SUPERSET' key value to True.
2. Ensure that HTTP_HEADERS={}.
Doing this will show embed dashboard option in the superset UI and the dashoboard ID that will be used for embedding.
You can follow the below article to embed dashboard in react app (you might need to do some work around if the superset in the production is using SSL).
Embedding superset dashboard in React app - https://medium.com/@khushbu.adav/embedding-superset-dashboards-in-your-react-application-7f282e3dbd88
For reference,
Github - https://github.com/apache/superset/tree/master/superset-embedded-sdk
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org