# How to setup Login to Kibana?

**URL:** <https://discuss.elastic.co/t/how-to-setup-login-to-kibana/110067>\
**Category:** Kibana\
**Created:** [December 3, 2017, 6:40pm UTC](https://discuss.elastic.co/t/how-to-setup-login-to-kibana/110067 "2017-12-03T18:40:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![amruth](https://avatars.discourse-cdn.com/v4/letter/a/43a26b/32.png) [@amruth](https://discuss.elastic.co/u/amruth)\
**Post date:** [December 3, 2017, 6:40pm UTC](https://discuss.elastic.co/t/how-to-setup-login-to-kibana/110067/1 "2017-12-03T18:40:02Z")

</div>

Hi,

I am trying to setup basic authentication to Kibana URL. I have come across Shield which is not an open source. Is there any way where I can setup username and password to Kibana?(without using shield)

Thanks

---

<div class="post-metadata">

**Author:** ![mujtabahussain](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mujtabahussain/32/17514_2.png) [@mujtabahussain](https://discuss.elastic.co/u/mujtabahussain)\
**Post date:** [December 4, 2017, 1:56am UTC](https://discuss.elastic.co/t/how-to-setup-login-to-kibana/110067/2 "2017-12-04T01:56:24Z")

</div>

What version of elastic stack are you using? Have you looked up [x-pack](https://www.elastic.co/products/x-pack) ?

---

<div class="post-metadata">

**Author:** ![amruth](https://avatars.discourse-cdn.com/v4/letter/a/43a26b/32.png) [@amruth](https://discuss.elastic.co/u/amruth)\
**Post date:** [December 4, 2017, 4:04am UTC](https://discuss.elastic.co/t/how-to-setup-login-to-kibana/110067/3 "2017-12-04T04:04:53Z")

</div>

I am using 5.5 version. But X-Pack is a paid one, not an open source. I am looking for something which is free.

---

<div class="post-metadata">

**Author:** ![jollyparamjit](https://avatars.discourse-cdn.com/v4/letter/j/d6d6ee/32.png) [@jollyparamjit](https://discuss.elastic.co/u/jollyparamjit)\
**Post date:** [December 8, 2017, 4:19am UTC](https://discuss.elastic.co/t/how-to-setup-login-to-kibana/110067/4 "2017-12-08T04:19:59Z")

</div>

You can try creating plugin for kibana like "app" type which will let you introduce your own, module.  
Your own module can be login module which will ask for User name/ password, once validated, you can re-direct to any other module.  
uiExports: {  
app: {  
title: 'Login',  
description: 'A Kibana plugin for login',  
main: 'plugins/login\_module/app',  
icon: 'plugins/login\_module/login\_icon.svg'  
},  
}

---

<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 5, 2018, 4:20am UTC](https://discuss.elastic.co/t/how-to-setup-login-to-kibana/110067/5 "2018-01-05T04:20:06Z")

</div>

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