# After enabling xpack in ES how do i login in Kibana

**URL:** <https://discuss.elastic.co/t/after-enabling-xpack-in-es-how-do-i-login-in-kibana/231530>\
**Category:** Kibana\
**Created:** [May 7, 2020, 12:00pm UTC](https://discuss.elastic.co/t/after-enabling-xpack-in-es-how-do-i-login-in-kibana/231530 "2020-05-07T12:00:46Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![persepherone](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/persepherone/32/67874_2.png) [@persepherone](https://discuss.elastic.co/u/persepherone)\
**Post date:** [May 7, 2020, 12:00pm UTC](https://discuss.elastic.co/t/after-enabling-xpack-in-es-how-do-i-login-in-kibana/231530/1 "2020-05-07T12:00:47Z")

</div>

I have version 7.6 of the ELK stack  
After enabling Xpack in ES and providing passwords to the elasticsearch-setup-passwords.bat file . Now i added one of the passwords to the kibana.yml file(to connect to ES). Now, kibana is not starting up. it is showing username password. If i try ES credentials here then also it is not working

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 7, 2020, 11:40pm UTC](https://discuss.elastic.co/t/after-enabling-xpack-in-es-how-do-i-login-in-kibana/231530/2 "2020-05-07T23:40:27Z")

</div>

> [@persepherone](#):
>
> Now, kibana is not starting up. it is showing username password.

So it has started, or it won't even run?

---

<div class="post-metadata">

**Author:** ![persepherone](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/persepherone/32/67874_2.png) [@persepherone](https://discuss.elastic.co/u/persepherone)\
**Post date:** [May 8, 2020, 10:47am UTC](https://discuss.elastic.co/t/after-enabling-xpack-in-es-how-do-i-login-in-kibana/231530/3 "2020-05-08T10:47:37Z")

</div>

Kibana does starts up but shows a Uid password box....i don't know where to get the login credentials for kibana. i just enabled it in ES now it is asking for the same in Kibana. how do i set passwords in Kibana.

---

<div class="post-metadata">

**Author:** ![111228](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/111228/32/56505_2.png) [@111228](https://discuss.elastic.co/u/111228)\
**Post date:** [May 8, 2020, 10:52am UTC](https://discuss.elastic.co/t/after-enabling-xpack-in-es-how-do-i-login-in-kibana/231530/4 "2020-05-08T10:52:10Z")

</div>

try to use command and set users for Kibana  
/usr/share/elasticsearch/bin/elasticsearch-setup-passwords interactive  
After this set ![Screenshot from 2020-05-08 13-51-34](https://us1.discourse-cdn.com/elastic/original/3X/7/d/7d2eb44952aaa03f26bce8ec0273c2082a15ff48.png) in kibana.yml

---

<div class="post-metadata">

**Author:** ![persepherone](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/persepherone/32/67874_2.png) [@persepherone](https://discuss.elastic.co/u/persepherone)\
**Post date:** [May 8, 2020, 11:06am UTC](https://discuss.elastic.co/t/after-enabling-xpack-in-es-how-do-i-login-in-kibana/231530/5 "2020-05-08T11:06:51Z")

</div>

![Kibana error](https://us1.discourse-cdn.com/elastic/original/3X/0/2/02b3329fab4d923a8b62c98c0847eb4cc2acd0ab.jpeg)  
Already done the above that u mentioned. Now Kibana is also asking for password(view screenshot) .the ones i provided to ES are not working here.

---

<div class="post-metadata">

**Author:** ![persepherone](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/persepherone/32/67874_2.png) [@persepherone](https://discuss.elastic.co/u/persepherone)\
**Post date:** [May 8, 2020, 11:08am UTC](https://discuss.elastic.co/t/after-enabling-xpack-in-es-how-do-i-login-in-kibana/231530/6 "2020-05-08T11:08:43Z")

</div>

after i try to login uisng ES crendentials , it shows the below error  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/d/6/d66259b8a0a830b6506aa6cd31e24390df085657.png)

---

<div class="post-metadata">

**Author:** ![persepherone](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/persepherone/32/67874_2.png) [@persepherone](https://discuss.elastic.co/u/persepherone)\
**Post date:** [May 9, 2020, 1:04pm UTC](https://discuss.elastic.co/t/after-enabling-xpack-in-es-how-do-i-login-in-kibana/231530/7 "2020-05-09T13:04:32Z")

</div>

isseue resolved by using elastic user rather than kibana 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:** [June 6, 2020, 1:04pm UTC](https://discuss.elastic.co/t/after-enabling-xpack-in-es-how-do-i-login-in-kibana/231530/8 "2020-06-06T13:04:51Z")

</div>

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