# Incorporating Discourse into Existing Rails/Heroku Project

**URL:** https://meta.discourse.org/t/incorporating-discourse-into-existing-rails-heroku-project/57384
**Category:** Development
**Created:** [14 Fevereiro , 2017 20:06 UTC](https://meta.discourse.org/t/incorporating-discourse-into-existing-rails-heroku-project/57384 "2017-02-14T20:06:37Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Jackson\_Cunningham](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jackson_cunningham/32/121205_2.png) [@Jackson\_Cunningham](https://meta.discourse.org/u/Jackson_Cunningham)
#### Post date: [14 Fevereiro , 2017 20:06 UTC](https://meta.discourse.org/t/incorporating-discourse-into-existing-rails-heroku-project/57384/1 "2017-02-14T20:06:37Z")

</div>

We have an existing rails app on Heroku and we’re looking to incorporate a community component.

We were going to build this from scratch but then discovered Discourse and it has all the features we need. The ideal setup would allow each section (main app & community) to access the other’s data. That way, we could include components from the community into the main app, and we could also tailor the community section to each user.

Is this type of setup possible? Everything I’ve read so far talks about installing Discourse as a completely standalone project (or subdomain, separated part of an existing app [community.mysite.com](http://community.mysite.com)).

Thanks!

---

<div class="post-metadata">

### Author: ![erlend\_sh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erlend_sh/32/119475_2.png) [@erlend\_sh](https://meta.discourse.org/u/erlend_sh)
#### Post date: [14 Fevereiro , 2017 20:20 UTC](https://meta.discourse.org/t/incorporating-discourse-into-existing-rails-heroku-project/57384/2 "2017-02-14T20:20:31Z")

</div>

Please continue discussion here:

> [@How to implement Discourse with an already built Rails project](https://meta.discourse.org/t/how-to-implement-discourse-with-an-already-built-rails-project/57353):
>
> I want to use Discourse as a private messaging as well as forum. How can I use it when I already created my rails project and it only lacks the messaging and forum feature. I have read a lot of articles but I can’t find an example where it is implemented in another project. All I see is that the Discourse project is cloned and make it running. I would be glad if you could answer me concern. I really like to implement discourse with my website.
