# How to get the cluster ID to setup nginx proxy for iframe authentication

**URL:** <https://discuss.elastic.co/t/how-to-get-the-cluster-id-to-setup-nginx-proxy-for-iframe-authentication/224914>\
**Category:** Elastic Cloud Enterprise (ECE)\
**Created:** [March 24, 2020, 8:00pm UTC](https://discuss.elastic.co/t/how-to-get-the-cluster-id-to-setup-nginx-proxy-for-iframe-authentication/224914 "2020-03-24T20:00:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![seppar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/seppar/32/45398_2.png) [@seppar](https://discuss.elastic.co/u/seppar)\
**Post date:** [March 24, 2020, 8:00pm UTC](https://discuss.elastic.co/t/how-to-get-the-cluster-id-to-setup-nginx-proxy-for-iframe-authentication/224914/1 "2020-03-24T20:00:04Z")

</div>

I'm trying to set up an Nginx proxy to log in so that my iframes are already logged in. I'm not sure how to get access to cluster ID

---

<div class="post-metadata">

**Author:** ![Mikhail\_Shustov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mikhail_shustov/32/49186_2.png) [@Mikhail\_Shustov](https://discuss.elastic.co/u/Mikhail_Shustov)\
**Post date:** [March 25, 2020, 8:06am UTC](https://discuss.elastic.co/t/how-to-get-the-cluster-id-to-setup-nginx-proxy-for-iframe-authentication/224914/2 "2020-03-25T08:06:28Z")

</div>

I think you need to provide Cluster-ID only if you run Kibana on Cloud. Do you run Kibana on-premise or on Cloud? There is an example of setup [Auto-authenticating to iframe-embedded Kibana dashboard](https://discuss.elastic.co/t/auto-authenticating-to-iframe-embedded-kibana-dashboard/46091/3)

---

<div class="post-metadata">

**Author:** ![seppar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/seppar/32/45398_2.png) [@seppar](https://discuss.elastic.co/u/seppar)\
**Post date:** [March 25, 2020, 4:28pm UTC](https://discuss.elastic.co/t/how-to-get-the-cluster-id-to-setup-nginx-proxy-for-iframe-authentication/224914/3 "2020-03-25T16:28:53Z")

</div>

Thank you for getting back to me. I am running the Kibana on Cloud when I looked at that article I need to provide a Cluster ID that I cant find or unsure where it is stored

---

<div class="post-metadata">

**Author:** ![Alex\_Piggott](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alex_piggott/32/11053_2.png) [@Alex\_Piggott](https://discuss.elastic.co/u/Alex_Piggott)\
**Post date:** [March 25, 2020, 5:31pm UTC](https://discuss.elastic.co/t/how-to-get-the-cluster-id-to-setup-nginx-proxy-for-iframe-authentication/224914/4 "2020-03-25T17:31:33Z")

</div>

@seppar The Kibana id is the first path in the Kibana URL that the Cloud console provides you, eg from `https://cloud.elastic.co/deployments/9b1....d7a/kibana` (where `9b1...` is the _deployment_ id), click the "Copy Endpoint URL", which will give something like `https://21d....23c.us-east-1.aws.found.io:9243`

`21d....23c` is the Kibana id to use

---

<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 22, 2020, 5:31pm UTC](https://discuss.elastic.co/t/how-to-get-the-cluster-id-to-setup-nginx-proxy-for-iframe-authentication/224914/5 "2020-04-22T17:31:39Z")

</div>

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