Incorporating Discourse into Existing Rails/Heroku Project

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).

Thanks!

Please continue discussion here: