# Embed Dashboards Kibana with Security

**URL:** <https://discuss.elastic.co/t/embed-dashboards-kibana-with-security/160918>\
**Category:** Kibana\
**Tags:** elastic-stack-security\
**Created:** [December 14, 2018, 2:29pm UTC](https://discuss.elastic.co/t/embed-dashboards-kibana-with-security/160918 "2018-12-14T14:29:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Francisca\_Lima](https://avatars.discourse-cdn.com/v4/letter/f/edb3f5/32.png) [@Francisca\_Lima](https://discuss.elastic.co/u/Francisca_Lima)\
**Post date:** [December 14, 2018, 2:29pm UTC](https://discuss.elastic.co/t/embed-dashboards-kibana-with-security/160918/1 "2018-12-14T14:29:11Z")

</div>

Hello,

I want to embed my dashboards made in Kibana in a webpage. However, I have security enabled in Elastic and Kibana, so to open a dashboard it requires the Kibana login.  
There is any way I can auto-sign-in users to see Kibana dashboards in the webpage?  
I already tried to POST the user credentials before doing a GET of the dashboard, but no success. I also tried to pass the credentials through the dashboard link but no success.

Any other suggestion?  
I already checked the other related issues.

---

<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:** [December 14, 2018, 2:34pm UTC](https://discuss.elastic.co/t/embed-dashboards-kibana-with-security/160918/2 "2018-12-14T14:34:42Z")

</div>

Hey @Francisca_Lima,

Passing auth through to an embedded Kibana isn't something that's directly supported at the moment. Most users end up creating a reverse-proxy to Kibana, which itself includes authentication credentials to Kibana. See this link for an example using Nginx: [Auto-authenticating to iframe-embedded Kibana dashboard](https://discuss.elastic.co/t/auto-authenticating-to-iframe-embedded-kibana-dashboard/46091/4)

---

<div class="post-metadata">

**Author:** ![Francisca\_Lima](https://avatars.discourse-cdn.com/v4/letter/f/edb3f5/32.png) [@Francisca\_Lima](https://discuss.elastic.co/u/Francisca_Lima)\
**Post date:** [December 17, 2018, 5:03pm UTC](https://discuss.elastic.co/t/embed-dashboards-kibana-with-security/160918/3 "2018-12-17T17:03:56Z")

</div>

Thank you Larry! It worked!

---

<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:** [January 14, 2019, 5:03pm UTC](https://discuss.elastic.co/t/embed-dashboards-kibana-with-security/160918/4 "2019-01-14T17:03:56Z")

</div>

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