Hello, it’s me again.
I managed to solve this. I don’t know if its a bug or I was doing something wrong, but this is how i solved it:
As @sowdenraymond told me, I modified the Grafana.ini file to set “true” the embed iframe. This did not solve it, so I went to ( allow_embedding does not change X-F… Answer from fgineral on community.grafana.com
Grafana
grafana.com › blog › how-to-embed-grafana-dashboards-into-web-applications
How to embed Grafana dashboards into web applications | Grafana Labs
May 15, 2026 - There are four methods we’ll focus on for sharing Grafana dashboards in web apps—embedding private dashboards with authentication, links, snapshots, and externally shared dashboards. The steps and options involved will vary. While some of these methods can be enabled via the Share button at the top of a dashboard view in Grafana, embedding private dashboards requires additional steps. Some organizations want to embed Grafana dashboards directly inside their own applications while ensuring that users must authenticate and only see the data they are authorized to access.
Embed grafana dashboard in web or mobile application
Hi I hope that you are doing well today, I’m new in grafana, and I find it very interesting for building a dashboard for monitoring, and it helpful for my current project, thanks to the grafana team. I fact I build a dashboard with grafana and I would like to know if I can embed my grafana ... More on community.grafana.com
Embed Grafana dashboard in web application
We have a Spring web application . Now, I want to display a specific dashboard from Grafana into the web app. I have generated the API token. How to display the dashboard in html page outside the grafana dashboard. We have not enabled CORS. I was trying to access via Java HTTP client with basic ... More on community.grafana.com
Azure Managed Grafana - embedding a graph on a webapp
I am trying to embed a Grafana graph (or dashboard) on a web app that I am currently developing using the share->Embed option on the graph panel. If it was a Grafana on a standalone installation on a PC (not on Azure) this can be done by changing… More on learn.microsoft.com
How to embed Grafana dashboards into web applications | Grafana Labs
spoiler alert, private dashboards is not really well supported when it comes to embedding. More on reddit.com
Grafana
community.grafana.com › authentication
How can I embed grafana dashboards in web application? - Authentication - Grafana Labs Community Forums
February 23, 2022 - I am new to Grafana, I created grafana dashboard in grafana cloud and now I want to show those dashboards in my website. how can I embed grafana dashboards in web application?
Grafana
community.grafana.com › t › embed-grafana-dashboard-in-web-or-mobile-application › 35232
Embed grafana dashboard in web or mobile application - Grafana Labs Community Forums
August 17, 2020 - Hi I hope that you are doing well today, I’m new in grafana, and I find it very interesting for building a dashboard for monitoring, and it helpful for my current project, thanks to the grafana team. I fact I build a d…
Medium
nitin-rachabathuni.medium.com › integrating-grafana-dashboards-into-your-web-application-a-comprehensive-guide-265962732f60
Integrating Grafana Dashboards into Your Web Application: A Comprehensive Guide | by Nitin Rachabathuni | Medium
February 3, 2024 - Customizable dashboards: Tailor visualizations to meet specific needs and preferences. Enhanced user experience: Offer users a comprehensive overview of the data that matters most to them, all within your application. Before integrating Grafana into your web application, ensure you have: A running instance of Grafana. Access to the Grafana API. A web application where you want to embed the Grafana dashboard.
Grafana
community.grafana.com › t › embed-grafana-dashboard-in-web-application › 3142
Embed Grafana dashboard in web application - Grafana Labs Community Forums
October 10, 2017 - We have a Spring web application . Now, I want to display a specific dashboard from Grafana into the web app. I have generated the API token. How to display the dashboard in html page outside the grafana dashboard. We ha…
Grafana
community.grafana.com › t › embed-grafana-dashboard-in-web-application › 100992
Embed Grafana dashboard in Web Application? - Grafana - Grafana Labs Community Forums
August 11, 2023 - Hi all, I am using AWS Managed Grafana v8.4. Is there a way to embed the dashboard in a web application?
ADHDecode
adhdecode.com › articles › grafana › grafana-iframe-embed-anonymous-access
Embed Grafana Dashboards in Web Apps with iFrame (2026) | ADHDecode
To avoid this and ensure users only see what they’re supposed to, you can generate API keys in Grafana and use them to fetch dashboard data server-side, then render it in your web app, or use specific embedding permissions. A more advanced technique involves creating signed URLs that embed a dashboard for a limited time or with specific user permissions, managed by your application’s backend.
Top answer 1 of 4
10
You can use Grafana's standard "Text" panel.
Set Display->Mode->HTML in panel settings and add
<iframe src="http://your.external.web.page.url"></iframe> in panel content editor.
2 of 4
1
if you want to dynamically change the height of iframe base on panel within
Grafana using JavaScript, you can achieve this by this:
<iframe id="embeddedFrame" src="http://your.external.web.page.url" width="100%"> </iframe>
<script>
var iframe = document.getElementById("embeddedFrame");
function setIframeHeight() {
iframe.style.height = iframe.parentElement.offsetHeight-5 + "px";
}
// Call setIframeHeight when the iframe content is loaded
iframe.onload = setIframeHeight;
// Also, call setIframeHeight when the window is resized
window.addEventListener("resize", setIframeHeight);
</script>
Grafana
community.grafana.com › authentication
How can I embed grafana dashboards in web application? - #14 by davidallen5 - Authentication - Grafana Labs Community Forums
October 10, 2023 - Hi all (and @therealman ) It is possible to have embedded dashboards in 3rd party web apps using authentication, but it isn’t our recommendation that you do that. To see all of your options, the pros / cons, and why we don’t recommend that option (and security issues associated with it) - this post has the full run-down.
Grafana
community.grafana.com › dashboards
Need to embed Grafana dashboard in react web application - Dashboards - Grafana Labs Community Forums
December 31, 2024 - We have a requirement to embed Grafana dashboard in react web application. We have published the dashboard, and we have a public dashboard link. The issue which we are facing is due to template variables used in the dashboard. We are passing those variables in the link using iframe tag but getting error with status code 400.
Grafana
community.grafana.com › t › embed-grafana-dashboard-in-web-application › 3142
Embed Grafana dashboard in web application - Page 2 - Grafana Labs Community Forums
October 22, 2017 - The HTML response I get from Java, I am passing to html via JavaScript to render the page in browser.