# Kibana login with service account

**URL:** https://discuss.elastic.co/t/kibana-login-with-service-account/342130
**Category:** Kibana
**Created:** [September 1, 2023, 1:16pm UTC](https://discuss.elastic.co/t/kibana-login-with-service-account/342130 "2023-09-01T13:16:59Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![HiteshSingh](https://avatars.discourse-cdn.com/v4/letter/h/f475e1/32.png) [@HiteshSingh](https://discuss.elastic.co/u/HiteshSingh)
#### Post date: [September 1, 2023, 1:16pm UTC](https://discuss.elastic.co/t/kibana-login-with-service-account/342130/1 "2023-09-01T13:16:59Z")

</div>

We have embedded kibana dashboard into our application and do not want to show login page of kibana to the user once the user has already logged-in to the application.

We are using basic license of Elasticsearch.

Can we use service accounts for this scenario? If yes, please let me know how do we achieve this using service accounts.

---

<div class="post-metadata">

### Author: ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)
#### Post date: [September 4, 2023, 9:52am UTC](https://discuss.elastic.co/t/kibana-login-with-service-account/342130/2 "2023-09-04T09:52:44Z")

</div>

Hi @HiteshSingh,

You could try making use of an [anonymous authentication](https://www.elastic.co/guide/en/kibana/8.9/kibana-authentication.html#anonymous-authentication) and specify the credentials.

---

<div class="post-metadata">

### Author: ![HiteshSingh](https://avatars.discourse-cdn.com/v4/letter/h/f475e1/32.png) [@HiteshSingh](https://discuss.elastic.co/u/HiteshSingh)
#### Post date: [September 4, 2023, 2:12pm UTC](https://discuss.elastic.co/t/kibana-login-with-service-account/342130/3 "2023-09-04T14:12:37Z")

</div>

> [@carly.richmond](#):
>
> You could try making use of an [anonymous authentication](https://www.elastic.co/guide/en/kibana/8.9/kibana-authentication.html#anonymous-authentication) and specify the credentials.

In this example, I need to create a service user under Kibana with necessary privileges?

---

<div class="post-metadata">

### Author: ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)
#### Post date: [September 4, 2023, 2:23pm UTC](https://discuss.elastic.co/t/kibana-login-with-service-account/342130/4 "2023-09-04T14:23:42Z")

</div>

Yes you would create a user profile with username and password, add the roles or entitlements you need and then configure that user as the anonymous user for authentication in your confirm.

---

<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: [October 2, 2023, 2:24pm UTC](https://discuss.elastic.co/t/kibana-login-with-service-account/342130/5 "2023-10-02T14:24:05Z")

</div>

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