# Embed Dash and request dynamic data

**URL:** <https://community.plotly.com/t/embed-dash-and-request-dynamic-data/13949>\
**Category:** Dash Python\
**Created:** [September 25, 2018, 6:44pm UTC](https://community.plotly.com/t/embed-dash-and-request-dynamic-data/13949 "2018-09-25T18:44:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zazoufumi](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/zazoufumi/32/4245_2.png) [@zazoufumi](https://community.plotly.com/u/zazoufumi)\
**Post date:** [September 25, 2018, 6:44pm UTC](https://community.plotly.com/t/embed-dash-and-request-dynamic-data/13949/1 "2018-09-25T18:44:18Z")

</div>

Hi (again),

I want to host my Dash app on a AWS instance, so this is only responsible to display a dashboard from the data I give him and embed it inside another page.

In a perfect world, I would need to do a POST request with a JSON body to http://my\_url.com/dash and it would return me a custom dashboard from the data inside the body. I would then embed this dashboard inside an iframe for example.

But as I found out, this is [not how Dash is designed to work](https://community.plotly.com/t/update-plot-in-dash-from-rest-api/10612/6?u=zazoufumi) since this is Dash that should retrieve data not the other way around. But I cannot retrieve data from a database so what are the other solutions do I have ?

As suggested [on my previous post](https://community.plotly.com/t/dash-inside-iframe-update-component/13947?u=zazoufumi), I was thinking about embedding the dash inside a iframe and then updating a hidden div with the original JSON body and this div would trigger a callback. But I’m unable to update dash from outside the iframe.

Thanks for your help,

---

<div class="post-metadata">

**Author:** ![smcc717](https://avatars.discourse-cdn.com/v4/letter/s/7ba0ec/32.png) [@smcc717](https://community.plotly.com/u/smcc717)\
**Post date:** [April 16, 2020, 12:16pm UTC](https://community.plotly.com/t/embed-dash-and-request-dynamic-data/13949/2 "2020-04-16T12:16:29Z")

</div>

Hi,

Did you manage to find a work around for this?
