# Issues related to embedding dashboards for public consumption

**URL:** <https://discuss.elastic.co/t/issues-related-to-embedding-dashboards-for-public-consumption/286695>\
**Category:** Kibana\
**Created:** [October 14, 2021, 8:54am UTC](https://discuss.elastic.co/t/issues-related-to-embedding-dashboards-for-public-consumption/286695 "2021-10-14T08:54:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![twright8](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/twright8/32/58294_2.png) [@twright8](https://discuss.elastic.co/u/twright8)\
**Post date:** [October 14, 2021, 8:54am UTC](https://discuss.elastic.co/t/issues-related-to-embedding-dashboards-for-public-consumption/286695/1 "2021-10-14T08:54:26Z")

</div>

Hi everyone,

I'm trying to publicly display a 7.14 dashboard via iframe on the same domain. I have set up security, use an API key and everything works with anonymous access.

However, there are several issues related to how it looks. and I'd like to achieve two things

1. Ideally I'd like to edit CSS

2. I'd also like to use a script to resize the iframes to the content

However there are several issues. Plugins for editing CSS don't seem to work, and TSVB CSS seems to get lost when iframed. Iframe resize scripts don't seem to work either. So then a couple questions:

- I am currently using the share link from the dashboard itself. I think using the internal link (e.g. localhost/0.0.0.0/private IP) may help with cross domain issues. is this the case?
- If so, is that possible with security and TLS set up?
- if so, how? replacing the domain name [XXXX.org/XXXX](http://XXXX.org/XXXX) with an internal link doesn't seem to work?
- I think this may unlock the ability to resize iframes as well. is this the case?

If anyone has general guidance on the issues or specific answers to my questions I would greatly appreciate it!

Thanks,

Tom

---

<div class="post-metadata">

**Author:** ![Dzmitry](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dzmitry/32/65026_2.png) [@Dzmitry](https://discuss.elastic.co/u/Dzmitry)\
**Post date:** [October 20, 2021, 1:15pm UTC](https://discuss.elastic.co/t/issues-related-to-embedding-dashboards-for-public-consumption/286695/2 "2021-10-20T13:15:28Z")

</div>

Hi @twright8

I think resizing should be possible, check the example in the official [documentation](https://www.elastic.co/guide/en/kibana/current/kibana-authentication.html#embedded-content-authentication)

I'm not sure if css editing is supported, but I can suggest reading the main [docs](https://www.elastic.co/guide/en/kibana/7.14/reporting-getting-started.html) round sharing.

Regards, Dzmitry

---

<div class="post-metadata">

**Author:** ![twright8](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/twright8/32/58294_2.png) [@twright8](https://discuss.elastic.co/u/twright8)\
**Post date:** [October 21, 2021, 9:55am UTC](https://discuss.elastic.co/t/issues-related-to-embedding-dashboards-for-public-consumption/286695/3 "2021-10-21T09:55:15Z")

</div>

Hi @Dzmitry ,

Unfortunately the documentation doesn't mention anything on automatic resizing to content. I've read the docs and don't think it helps with my issues but thank you for the reply either way!

Tom

---

<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:** [November 18, 2021, 9:55am UTC](https://discuss.elastic.co/t/issues-related-to-embedding-dashboards-for-public-consumption/286695/4 "2021-11-18T09:55:20Z")

</div>

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