# Kibana in Custom App

**URL:** <https://discuss.elastic.co/t/kibana-in-custom-app/154450>\
**Category:** Kibana\
**Created:** [October 29, 2018, 1:41pm UTC](https://discuss.elastic.co/t/kibana-in-custom-app/154450 "2018-10-29T13:41:00Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Larry\_Gregory](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/larry_gregory/32/34969_2.png) [@Larry\_Gregory](https://discuss.elastic.co/u/Larry_Gregory)\
**Post date:** [October 29, 2018, 2:00pm UTC](https://discuss.elastic.co/t/kibana-in-custom-app/154450/3 "2018-10-29T14:00:24Z")

</div>

The best way to accomplish this is via reverse-proxy. Instead of having an iframe with hard-coded credentials, the iframe can point to a reverse proxy that you control. The proxy then has logic to add the auth headers, as required.

Here's an example setup for nginx that you can use as a starting point: [Auto-authenticating to iframe-embedded Kibana dashboard](https://discuss.elastic.co/t/auto-authenticating-to-iframe-embedded-kibana-dashboard/46091/4?u=larry_gregory)

---

_[View the full topic](https://discuss.elastic.co/t/kibana-in-custom-app/154450)._
