# 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:** 1\
**Showing post:** 2

<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.

---

_[View the full topic](https://discuss.elastic.co/t/how-to-use-the-iframe-on-an-external-page-already-authenticated/280598)._
