# Load Cloud Kibana dashboard in iframe with API KEY or credentials

**URL:** <https://discuss.elastic.co/t/load-cloud-kibana-dashboard-in-iframe-with-api-key-or-credentials/274307>\
**Category:** Kibana\
**Tags:** elastic-stack-security\
**Created:** [May 28, 2021, 9:02am UTC](https://discuss.elastic.co/t/load-cloud-kibana-dashboard-in-iframe-with-api-key-or-credentials/274307 "2021-05-28T09:02:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kwoxer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kwoxer/32/74809_2.png) [@kwoxer](https://discuss.elastic.co/u/kwoxer)\
**Post date:** [May 28, 2021, 9:02am UTC](https://discuss.elastic.co/t/load-cloud-kibana-dashboard-in-iframe-with-api-key-or-credentials/274307/1 "2021-05-28T09:02:18Z")

</div>

Well there are different way how to do the auth in on-prem Elastic and Kibana:

> [@Load kibana dashboard in iframe with API KEY authentication](https://discuss.elastic.co/t/load-kibana-dashboard-in-iframe-with-api-key-authentication/242970):
>
> Hi Team, I am wondering if we can achieve this. I did not find any topic related to this on which we are using api key authentication mechanism and load kibana dashboard in iframe Kibana and elastic search version i am using is 7.8 And also confirm if the api key is free to use. There would be no license cost applied if we use it. Thank you,

But is this somehow also possible in Elastic Cloud?

I cannot find a way doing that. I simply need a iframe that links to a specific Dashboard. That's all. Is that possible?

Edit #1: I have a anon user now. And when the user is logged into that account it works. But I don't want to propagate the credentials to the user. This must be possible to do in the background...

---

<div class="post-metadata">

**Author:** ![dosant](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dosant/32/64489_2.png) [@dosant](https://discuss.elastic.co/u/dosant)\
**Post date:** [May 28, 2021, 9:45am UTC](https://discuss.elastic.co/t/load-cloud-kibana-dashboard-in-iframe-with-api-key-or-credentials/274307/2 "2021-05-28T09:45:14Z")

</div>

@kwoxer, here are the docs to the recommended embedding way. This method is available since 7.11.0

- [Authentication in Kibana | Kibana Guide [7.13] | Elastic](https://www.elastic.co/guide/en/kibana/current/kibana-authentication.html#_anonymous_access_and_other_types_of_authentication)

- [Embed Kibana content in a web page | Kibana Guide [7.13] | Elastic](https://www.elastic.co/guide/en/kibana/current/embedding.html)

---

<div class="post-metadata">

**Author:** ![kwoxer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kwoxer/32/74809_2.png) [@kwoxer](https://discuss.elastic.co/u/kwoxer)\
**Post date:** [May 28, 2021, 9:59am UTC](https://discuss.elastic.co/t/load-cloud-kibana-dashboard-in-iframe-with-api-key-or-credentials/274307/3 "2021-05-28T09:59:11Z")

</div>

Worked like a charm. Sadly I didn't find that solution on my own.

Thanks...

---

<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 25, 2021, 9:59am UTC](https://discuss.elastic.co/t/load-cloud-kibana-dashboard-in-iframe-with-api-key-or-credentials/274307/4 "2021-06-25T09:59:29Z")

</div>

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