Post on 13-Dec-2014
description
transcript
Better together withHeroku ConnectMarty Chang. Consultant, Slalom Consulting
WIIFM?
Live demo!
Notable observations
Q&A
3
Dear audience…
Please hold your questions until the end, to allow time to complete the demo
The (hackety-hack-hack) source code is on GitHub if you’re inclined to look at it
I’m assuming… well, let’s ask: Who here knows Heroku and Ruby on Rails?
4
WIIFM?Why is Heroku Connect better than rolling my own integration?
5
Are you a developer?
SOAP API client? REST API client? How about no API client?
Set up your Salesforce models in a matter of seconds with SalesforceBase
Focus on the business code, not the integration code
6
Are you an integration specialist?
Real-time debugging
Integration statistics
Fast recovery
Make additive changes on the fly
Automatic API optimization (SOAP vs. Bulk)
7
Are you none of the above?
Enjoy faster delivery of Salesforce-integrated apps on Heroku
Enjoy improved reliability of an integration created by and supported by salesforce.com for salesforce.com customers!
8
Live demo!It really does exist…
9
Wheelies scenario
Car rental company
Fleet of 1,000,000 vehicles
Vehicles are capable of transmitting data wirelesslyEvery 30 seconds
GPS coordinates
Vehicle health status
Current vehicle status needed in Salesforce to facilitate CRM workflowsProactive outreach to customers
Notifications to customer service representatives and support technicians
10
11
12
13
14
15
16
17
18
19
20
21
22
Notable observationsImpress your Salesforce and Heroku developer friends
23
Limitations
No files
No images
Insert or update, not upsert
Salesforce validation rules not enforced by Heroku Postgres
$$$$ (?)
24
Error recovery
Manual check required
Automated retries possibleupdate _trigger_log set state = 'NEW' where state = 'FAILED' and table_name = '<your table name>';`
Finite window for retries
25
Best practices
Use config (a.k.a. environment) variables in Heroku
Extend ActiveRecord::Base when creating models for Heroku Connect
Create a dedicated Heroku integration user
26
Get Started with Heroku Connect
https://devcenter.heroku.com/articles/herokuconnect
27
Thank you for your timeAll questions and comments are welcome
28
MartyCHANGConsultant
martyc@slalom.com617.316.5400
SLALOM CONTACTS
DougMCINTYREConsultant
doug.mcintyre@slalom.com617.316.5400
ToddRICHMANCRM Practice Area Lead
toddr@slalom.com617.316.5400
© 2012 Slalom, LLC. All rights reserved. The information herein is for informational purposes only and represents the current view of Slalom, LLC. as of the date of this presentation.SLALOM MAKES NO WARRANTIES, EXPRESS, IMPLIED, OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.