Embedding dashboard with iframe in WordPress site

Hi,

I am trying to embed the dashboard with iframe in the WordPress site. Somehow, it is not displaying anything. I have copied the html code from share panel.

I have already enabled the following settings in .ini and restarted the grafana service.

[auth.anonymous]
enable anonymous access
enabled = true

specify organization name that should be used for unauthenticated users
org_name = Main Org.

specify role for unauthenticated users
org_role = Viewer

set to true if you want to allow browsers to render Grafana in a frame, iframe, embed or object. default is false.
allow_embedding = true

Can anyone help, please?

Thanks.

1 Like