Apache superset dashboard in webpage

Ankita picture Ankita · Jan 16, 2019 · Viewed 7.9k times · Source

I am trying to implement the apache superset dashboard in a webpage. Anyone have any idea how to implement this ?

Answer

Soumen Dofadar picture Soumen Dofadar · Jan 25, 2019

Keep the iframe tag line as you mentioned.

<iframe src="linkToYourDashBoard?standalone=true"></iframe>

and check the superset_config.py file.

HTTP_HEADERS = {'X-Frame-Options': 'SAMEORIGIN'}

Change the line to

HTTP_HEADERS = {'X-Frame-Options': 'ALLOWALL'}

or

HTTP_HEADERS = {}

Don't forget to add superset_config.py file to your python path.