Learn how Heroku Connect allows you to build compelling apps with seamless data flow between Heroku and Salesforce. The slides cover an overview of Heroku, technical details of Heroku Connect and use cases.
2. Paul Kopacki, CMO Heroku
Margaret Francis, Product Manager Heroku Connect
Scott Persinger, Engineering Manager Heroku Connect
3. Webinar Agenda
• Heroku Overview
• Heroku Connect
• Description and Customer Use Cases
• Product Demo
• Technical Overview
• Q&A with Lead Architect
• Resources
• Heroku Accounts
• Heroku Connect Documentation
4. What is Heroku?
Everything you need to build, run, and scale customer apps
Database
Enterprise grade
Postgres as a
service
Add-ons
Marketplace for
logging, data and
more
Dynos
Run virtually any
language at any
scale
9. Why Heroku Connect: Ease of Building
Multi-Data Source Apps
• Apps that federate data from SFDC and other, non-SFDC
sources into a single data store to produce a customer
centric web or mobile app experience
• Internet of Things data
• Connected Devices, Automobiles, Wearables
• Non SFDC SAAS data
• eCommerce, ISVs
• Proprietary data not normally held in Salesforce
• Point of sale system data, custom DWH data
10. Why Heroku Connect: Web/Mobile App
Dev Pattern Compatibility
• Apps built using languages and frameworks that typically
require data to be held in a relational data store for
performance, scale, flexibility
• iOS / Android apps built with Node,js / Angular
• PHP apps, Facebook and beyond
• Ruby on Rails apps built for web and mobile
• Apps built by dev teams with strong app dev & SQL skills
but limited declarative experience
• In house Java, Rails, PHP shops, internal/ external
innovation teams, marketing services agencies, mobile
app dev shops
11. Why Heroku Connect: Simplicity of
Salesforce Integration
• Business users with comprehensive knowledge of their
Salesforce data model can use Heroku Connect to
configure a synch without programming skills
• Engineers that have strong development skills but
without deep Apex knowledge can use the SQL
database to efficiently build apps while maintaining deep
integration with SFDC
• Heroku Connect manages ongoing API operations:
Users can “set it and forget it,” without the burden of
integration code maintenance and optimization
13. How It Works: Point and Click
Configuration
User authorizes Heroku
Connect to a Salesforce
sandbox or production
instance.
User chooses which
Salesforce objects and
fields to map to Heroku
Postgres.
User decides chooses
synchronization mode: Read
Only or Read / Write. Volumes
of data change are graphed.
14. How It Works: Data Model
Users select objects and
fields from an SFDC org
for synchronization to
Heroku Postgres.
Heroku Connect creates
and maintains a schema
inside Postgres for the
Salesforce org.
Salesforce -> Postgres:
Org = Schema
Object = Table
Field = Column
Schema
Table
Table
Table
Salesforce Org
Object
Object
Object
Object
Heroku Postgres
15. How It Works: Synchronization
Heroku Connect queries
Force.com for updates to
mappped objects using
LastModifiedTime. Default
poll interval is 10 minutes.
Heroku Connect records
changes to the Postgres DB
in the trigger log. Default
interval for synching changes
to SFDC is 5 minutes.
Reads from SFDC and writes
to SFDC occur as independent
operations. Last writer wins.
16. How It Works: Provisioning and
Permissions
Heroku
Postgres
Heroku App
HerokuOrg
Addon A
Addon B
Heroku
Connect
The owner receives
all notifications by
default.
The owner can be
changed and the
notification list
expanded.
Org Admins and
Members can
attach Heroku
Connect to any
app in the org.
The creator is
the owner of that
instance.
Entitlement to
Heroku Connect
is granted to
orgs.
A Heroku Postgres
database must be
available to the
Heroku app for
Heroku Connect.
17. How It Works: Managing Multiple
Salesforce Orgs
Salesforce
Org A
Salesforce
Org B
Heroku Connect supports two patterns for consolidation of org data into a single DB:
1. Sharing a single DB between Heroku Connect instances
2. Using a multiservice configuration
Heroku Postgres databases may be resized / upgraded on demand.
Heroku PostgresSalesforce
Org C
Heroku
Connect
18. Heroku Resources
• Sign up for Heroku: https://www.heroku.com
• Heroku Connect documentation:
https://devcenter.heroku.com/articles/herokuconnect
• Heroku Connect blog post:
https://blog.heroku.com/archives/2014/5/13/introducing_
heroku_connect
• Get email updates about upcoming events/ webinars,
talk to a rep about Heroku Connect:
https://www.heroku.com/connect
Heroku App & DB
Heroku Connect UI
Map to SFDC and choose a few fields
Show data in Postgres
Switch to Salesforce UI
Show insertion of a record
Show Nibs