Let’s cut straight to the chase: MongoHQ is launching their add-on to all Heroku users as a public beta.
Over the last six months we have seen persistent demand for MongoDB support on Heroku, so we are incredibly excited that MongoHQ is releasing their highly anticipated add-on into public beta today. The add-on interfaces seamlessly with their successful hosted service, and allows developers to use MongoDB as a first-class-citizen data store in any of their Heroku apps. Using it is just as easy as you’ve come to expect from Heroku: simply add the add-on, and you’re good to go!
The first available plan is free and includes one database up to 16MB. Soon, you will have your pick of the full range of MongoHQ plans.
Add the add-on to your app:
$ heroku addons:add mongohq:free
This will create a fresh new MongoHQ database for you and set the proper environment variable in your app. Follow the detailed instructions in our MongoHQ docs page for specifics on using MongoDB in your app.
Transferring data in/out
Since MongoDB isn’t a SQL database, taps won’t work. Luckily Pedro has created a Heroku client plugin that offers you push/pull functionality to a MongoDB. If you have MongoDB running locally on your development machine, with this plugin you can easily push and pull data just like with taps.
If you have any questions using the MongoHQ add-on, or any Heroku add-on, our support staff is available.