Step by Step Guide to Configuring & Using Heroku Connect
If you need to synchronize data between Salesforce & Heroku, look no further than using Heroku Connect. Heroku Connect is a "point & click" configuration and requires no coding. Follow this step-by-step guide, and in less than 45 minutes you will have your own Heroku instance, a Postgres database on Heroku, and data synchronization between Salesforce & Heroku.
But before we get into the nitty-gritty of the same, here are a few things that you need to be aware of.
Heroku Connect is not free. You will need to buy licenses, and the licensing is based on the number of rows that need to be synchronized. Please contact Salesforce for pricing.
Heroku Connect keeps the data in sync at all times. Any changes in Salesforce will be updated in Heroku, and any changes in Heroku will be updated in Salesforce (that is, if you have enabled the option to synchronize from Heroku to Salesforce).
As of now, you cannot synchronize the data selectively from an object (that is, you cannot specify a filter criterion to select records). All the records of the object will be synced with Heroku.
For Heroku → Salesforce synchronization, Heroku Connect synchronizes data from Postgres to Salesforce every 10 seconds in an asynchronous batch mode.
For Salesforce → Heroku synchronization, there are two options
Polling synchronization — which can be set to a frequency from 2 to 60 minutes.
Event-driven synchronization — Based on the Streaming API, this mode notifies Heroku Connect of any changes in real-time, rather than waiting for the service to poll Salesforce for updates.
Each object can have a different synchronization setting and frequency.