# How to embed dashboard into website with auto login user?

**URL:** <https://discuss.elastic.co/t/how-to-embed-dashboard-into-website-with-auto-login-user/311619>\
**Category:** Kibana\
**Created:** [August 8, 2022, 5:23am UTC](https://discuss.elastic.co/t/how-to-embed-dashboard-into-website-with-auto-login-user/311619 "2022-08-08T05:23:28Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Irwan\_Kurniawan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/irwan_kurniawan/32/101755_2.png) [@Irwan\_Kurniawan](https://discuss.elastic.co/u/Irwan_Kurniawan)\
**Post date:** [August 8, 2022, 5:23am UTC](https://discuss.elastic.co/t/how-to-embed-dashboard-into-website-with-auto-login-user/311619/1 "2022-08-08T05:23:29Z")

</div>

I want to embed the dashboard with auto login user.. So when the user login into website, it automatically login into Kibana also with same user and role.. Is it possible? Thank you!

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [August 12, 2022, 9:11pm UTC](https://discuss.elastic.co/t/how-to-embed-dashboard-into-website-with-auto-login-user/311619/2 "2022-08-12T21:11:13Z")

</div>

You can enable anonymous access or you could use the token authentication if you want each user to have their own Kibana user.

---

<div class="post-metadata">

**Author:** ![Irwan\_Kurniawan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/irwan_kurniawan/32/101755_2.png) [@Irwan\_Kurniawan](https://discuss.elastic.co/u/Irwan_Kurniawan)\
**Post date:** [August 15, 2022, 4:31am UTC](https://discuss.elastic.co/t/how-to-embed-dashboard-into-website-with-auto-login-user/311619/3 "2022-08-15T04:31:25Z")

</div>

Is there any guide to use token authentication? I got another problem also. I got loop login on our website when I embed the dashboard. I used this guide and it still happen. [Set up basic security for the Elastic Stack plus secured HTTPS traffic | Elasticsearch Guide [7.15] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/7.15/security-basic-setup-https.html)

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [August 15, 2022, 2:56pm UTC](https://discuss.elastic.co/t/how-to-embed-dashboard-into-website-with-auto-login-user/311619/4 "2022-08-15T14:56:51Z")

</div>

> **[Authentication in Kibana | Kibana Guide \[8.3\] | Elastic](https://www.elastic.co/guide/en/kibana/current/kibana-authentication.html)**
>
> A list of the supported authentication mechanisms in Kibana.

---

<div class="post-metadata">

**Author:** ![Irwan\_Kurniawan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/irwan_kurniawan/32/101755_2.png) [@Irwan\_Kurniawan](https://discuss.elastic.co/u/Irwan_Kurniawan)\
**Post date:** [August 25, 2022, 8:27am UTC](https://discuss.elastic.co/t/how-to-embed-dashboard-into-website-with-auto-login-user/311619/5 "2022-08-25T08:27:21Z")

</div>

Hi, my problem is I still got loop login when I embedded it into html file. How can I solve this? Thank you!

---

<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 22, 2022, 8:27am UTC](https://discuss.elastic.co/t/how-to-embed-dashboard-into-website-with-auto-login-user/311619/6 "2022-09-22T08:27:27Z")

</div>

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