Heroku Connect: The New Way to Build Connected Customer Applications


Published on

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.

Published in: Technology
  • Be the first to comment

Heroku Connect: The New Way to Build Connected Customer Applications

  1. 1. Heroku Connect: Building Connected Customer Apps
  2. 2. Paul Kopacki, CMO Heroku Margaret Francis, Product Manager Heroku Connect Scott Persinger, Engineering Manager Heroku Connect
  3. 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. 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
  5. 5. The Open Source Tech Developers Love
  6. 6. Build. Deploy. Scale. Heroku brings them together in an experience built and designed for developers. – Larry Marburger, CloudApp
  7. 7. Heroku Powers the Consumer Internet
  8. 8. Heroku Connect Bi-Directional Data Synchronization Service Between Salesforce and Heroku Postgres Heroku Connect
  9. 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. 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. 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
  12. 12. Heroku Connect Demo
  13. 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. 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. 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. 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. 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. 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
  19. 19. Thank You