# How to install Kibana and Elastic search on the machine to get a login prompt on starting Kibana

**URL:** https://discuss.elastic.co/t/how-to-install-kibana-and-elastic-search-on-the-machine-to-get-a-login-prompt-on-starting-kibana/225971
**Category:** Kibana
**Created:** [April 1, 2020, 4:41am UTC](https://discuss.elastic.co/t/how-to-install-kibana-and-elastic-search-on-the-machine-to-get-a-login-prompt-on-starting-kibana/225971 "2020-04-01T04:41:23Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![pranay\_bhatnagar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pranay_bhatnagar/32/64501_2.png) [@pranay\_bhatnagar](https://discuss.elastic.co/u/pranay_bhatnagar)
#### Post date: [April 1, 2020, 4:41am UTC](https://discuss.elastic.co/t/how-to-install-kibana-and-elastic-search-on-the-machine-to-get-a-login-prompt-on-starting-kibana/225971/1 "2020-04-01T04:41:23Z")

</div>

I want to have a login prompt in start of the Kibana custom plugin. I have created a custom app level plugin but there is no login prompt on opening the custom app level plugin.

What are the steps to install Kibana/Elastic Search so that i got a prompt of login on opening app level custom plugin.

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [April 1, 2020, 6:42am UTC](https://discuss.elastic.co/t/how-to-install-kibana-and-elastic-search-on-the-machine-to-get-a-login-prompt-on-starting-kibana/225971/2 "2020-04-01T06:42:21Z")

</div>

The login will happen globally when you connect to Kibana if your cluster is secured. Once you are authenticated, you can access to any plugin your role allows.

BTW I'm moving the question to #kibana

---

<div class="post-metadata">

### Author: ![richylyq](https://avatars.discourse-cdn.com/v4/letter/r/41988e/32.png) [@richylyq](https://discuss.elastic.co/u/richylyq)
#### Post date: [April 1, 2020, 6:50am UTC](https://discuss.elastic.co/t/how-to-install-kibana-and-elastic-search-on-the-machine-to-get-a-login-prompt-on-starting-kibana/225971/3 "2020-04-01T06:50:08Z")

</div>

Hey @pranay_bhatnagar

Not sure if this would be of use to your case but here you go

> **[Secure Elasticsearch with TLS encryption and role-based access control](https://www.elastic.co/blog/getting-started-with-elasticsearch-security)**
>
> Secure your Elasticsearch clusters -- and the other components of the Elastic Stack -- with node-to-node TLS and role-based access control (RBAC). These features and more are now available free with the default distribution of Elasticsearch and...

---

<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: [April 29, 2020, 6:50am UTC](https://discuss.elastic.co/t/how-to-install-kibana-and-elastic-search-on-the-machine-to-get-a-login-prompt-on-starting-kibana/225971/5 "2020-04-29T06:50:51Z")

</div>

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