Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to embed an Apache Superset dashboard in a webpage?

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

like image 658
Ankita Avatar asked Dec 07 '25 08:12

Ankita


1 Answers

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.

like image 152
Soumen Avatar answered Dec 08 '25 22:12

Soumen



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!