Heroku Connect was announced at Dreamforce ‘13 shortly after salesforce aquired cloudconnect. Cloudconnect is the original product created by Adam Gross, formerly of Dropbox that became Heroku Connect.
There’s a rich developer ecosystem around web apps built with popular web frameworks such as Rails, Django, Express, Symfony, etc. All of these frameworks assume a relational database as a backend, which because of it’s age, usage, and rich set of existing toolsets, makes it easy to get started with. Salesforce’s force.com platform wanted gain this ease of use and speed at which apps could be developed. Salesforce has it’s own data storage solution that is built for scale and multitenatcy and doesn’t cleanly map to the standard relational model.
Connect solves this problem by bi-directionaly synchronizing your salesforce data to a heroku postgres database. Once in postgres, all the popular web frameworks with a huge developer community can be used to develop salesforce apps.
Heroku Connect Setup
Connect is provided as a heroku add-on, which enables easy intregration with heroku apps. A prerequisite is to have a postgres database provisioned for connect to synchronize your salesforce data to. Once your database is in place, you install the add-on via
heroku addons:add herokuconnect -a appname
Here’s what it looks like
The rest of the setup and configuration takes place in the Heroku Connect web interface. You access it by logging into heroku and navigate to your app, then click the Heroku Connect link in the Add-ons section. This will lauch the web ui.
On first lauch you will be greeted with a setup screen. This will automatically use to the
DATABASE_URL config variable, which was put in place when the postgres database was provisioned.
The final setup looks like
Next you need to authorize Connect to access your salesforce org
You allow permission
You are then ready to configure the data you want to use with Connect.