# How to use the iframe on an external page already authenticated

**URL:** <https://discuss.elastic.co/t/how-to-use-the-iframe-on-an-external-page-already-authenticated/280598>\
**Category:** Kibana\
**Created:** [August 5, 2021, 8:43pm UTC](https://discuss.elastic.co/t/how-to-use-the-iframe-on-an-external-page-already-authenticated/280598 "2021-08-05T20:43:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![francieliton\_araujo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/francieliton_araujo/32/47771_2.png) [@francieliton\_araujo](https://discuss.elastic.co/u/francieliton_araujo)\
**Post date:** [August 5, 2021, 8:43pm UTC](https://discuss.elastic.co/t/how-to-use-the-iframe-on-an-external-page-already-authenticated/280598/1 "2021-08-05T20:43:48Z")

</div>

It would be possible, for example, from the tooth of another web tool, like: zabbix, to access a kibana dash.  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/6/4/6482b367d4a70bfc9c5dfdd6dee536322fd9bb23.png)  
My intention is to get from within zabbix, create a page that opens a graphic of the kibana, without the person having to access another web page and log in and password.  
can be something basic without security, because it will be something internal and only view, for example I can create a user only view and pass automatically when entering inside zabbix for example.

---

<div class="post-metadata">

**Author:** ![tsullivan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tsullivan/32/31077_2.png) [@tsullivan](https://discuss.elastic.co/u/tsullivan)\
**Post date:** [August 12, 2021, 6:33pm UTC](https://discuss.elastic.co/t/how-to-use-the-iframe-on-an-external-page-already-authenticated/280598/2 "2021-08-12T18:33:26Z")

</div>

You can create an anonymous user and grant that user access to view the parts of Kibana that you need to show.

You will also need a proxy endpoint that attaches the anonymous user's credentials to the headers of requests, via Basic authorization. See [Auto-authenticating to iframe-embedded Kibana dashboard - #4 by tsullivan](https://discuss.elastic.co/t/auto-authenticating-to-iframe-embedded-kibana-dashboard/46091/4)

When embedding the iFrame code, the address to Kibana should be the address to the proxy endpoint.

Then when your coworkers visit the web tool that has Kibana embedded, the requests go through the proxy instead of directly to the Kibana server. The proxy bypasses interactive logins by automatically authenticating each request as the anonymous user.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 9, 2021, 6:33pm UTC](https://discuss.elastic.co/t/how-to-use-the-iframe-on-an-external-page-already-authenticated/280598/3 "2021-09-09T18:33:59Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
