# Grafana iFrame embedding does not work

**URL:** <https://community.grafana.com/t/grafana-iframe-embedding-does-not-work/57930>\
**Category:** Grafana\
**Tags:** html-panel, iframe\
**Created:** [December 20, 2021, 7:45am UTC](https://community.grafana.com/t/grafana-iframe-embedding-does-not-work/57930 "2021-12-20T07:45:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![geda](https://avatars.discourse-cdn.com/v4/letter/g/5e9695/32.png) [@geda](https://community.grafana.com/u/geda)\
**Post date:** [December 20, 2021, 7:45am UTC](https://community.grafana.com/t/grafana-iframe-embedding-does-not-work/57930/1 "2021-12-20T07:45:51Z")

</div>

Hi,

I am using Grafana on a local server and I wanted to embed it into a HTML via iframe. My code looks like this:

```
<title>Monitoring</title>

<meta http-equiv="refresh" content="60; URL=monitor - Panel Name.html">

```

 div#content { position: absolute; height: 100%; width: 100%; margin-left:-50; border:0; background-color: black; scrolling="no"; } div#content iframe { position: absolute; height: 100%; width: 100%; margin:0; border:0; frameborder="0"; scrolling="no"; } 

```
<iframe src="[Grafana Link]" name="frame2" id="frame2" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" onload="" allowtransparency="false"></iframe>

```

I have set the “cookie\_samesite = none” and “allow\_embedding = true”. When I open my document I see the login, but when I try to login, the page says “Login successful” but the login screen still stays.

Can anyone help?

Thank you.

---

<div class="post-metadata">

**Author:** ![anon70503803](https://avatars.discourse-cdn.com/v4/letter/a/8797f3/32.png) [@anon70503803](https://community.grafana.com/u/anon70503803)\
**Post date:** [December 24, 2021, 8:32pm UTC](https://community.grafana.com/t/grafana-iframe-embedding-does-not-work/57930/2 "2021-12-24T20:32:26Z")

</div>

welcome to the :grafana: forum, @geda

This probably depends partly on your Grafana version. I would also advise search this forum for ifram questions, or exploring the `iframe` tag. There are a lot of topics about this 👍
