# Dynamically getting embedded iframe code

**URL:** <https://discuss.elastic.co/t/dynamically-getting-embedded-iframe-code/67684>\
**Category:** Kibana\
**Created:** [November 30, 2016, 9:59pm UTC](https://discuss.elastic.co/t/dynamically-getting-embedded-iframe-code/67684 "2016-11-30T21:59:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rjzheng](https://avatars.discourse-cdn.com/v4/letter/r/7feea3/32.png) [@rjzheng](https://discuss.elastic.co/u/rjzheng)\
**Post date:** [November 30, 2016, 9:59pm UTC](https://discuss.elastic.co/t/dynamically-getting-embedded-iframe-code/67684/1 "2016-11-30T21:59:03Z")

</div>

Hi, in Kibana, users are able to get the embedded iframe code in their dashboards. I was wondering if there's an API that allows me to dynamically get the iframe codes without having to open kibana and manually copy the codes every time?

---

<div class="post-metadata">

**Author:** ![Bargs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bargs/32/5429_2.png) [@Bargs](https://discuss.elastic.co/u/Bargs)\
**Post date:** [November 30, 2016, 11:54pm UTC](https://discuss.elastic.co/t/dynamically-getting-embedded-iframe-code/67684/2 "2016-11-30T23:54:27Z")

</div>

No, but it's pretty easy to generate yourself. If you know the dashboard URL, you just need to add `embed=true` to the request parameters.

---

<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:** [December 28, 2016, 11:54pm UTC](https://discuss.elastic.co/t/dynamically-getting-embedded-iframe-code/67684/3 "2016-12-28T23:54:39Z")

</div>

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