# Running Discourse in an iframe

**URL:** <https://meta.discourse.org/t/running-discourse-in-an-iframe/54931>\
**Category:** Product Support\
**Created:** [2016 年 12 月 29 日午後 2:45 UTC](https://meta.discourse.org/t/running-discourse-in-an-iframe/54931 "2016-12-29T14:45:26Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![fishb6nes](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fishb6nes/32/121291_2.png) [@fishb6nes](https://meta.discourse.org/u/fishb6nes)\
**Post date:** [2016 年 12 月 29 日午後 2:45 UTC](https://meta.discourse.org/t/running-discourse-in-an-iframe/54931/1 "2016-12-29T14:45:26Z")

</div>

I’m looking to gain more experience with Angular and Node (as that is what is being used in my work place) and want to use a website idea I’ve been shelving for quite a while now. Initially I expected to simply run Discourse in an iframe in the Angular app, but it’s never that easy.

Are there very clear reasons not to meddle with the `X-Frame-Options`, including loosening it to `ALLOW-FROM`? What would be the most elegant approach to integrating Discourse in an Angular SPA or am I barking up the wrong tree?

---

_[View the full topic](https://meta.discourse.org/t/running-discourse-in-an-iframe/54931)._
