SlideShare a Scribd company logo
December 1, 2015
Lorem Ipsum Dolor
Forward-Looking Statement
Statement under the Private Securities Litigation Reform Act of 1995: This presentation may contain forward-looking statements that involve
risks, uncertainties, and assumptions. If any such uncertainties materialize or if any of the assumptions proves incorrect, the results of
salesforce.com, inc. could differ materially from the results expressed or implied by the forward-looking statements we make. All statements other
than statements of historical fact could be deemed forward-looking, including any projections of product or service availability, subscriber growth,
earnings, revenues, or other financial items and any statements regarding strategies or plans of management for future operations, statements of
belief, any statements concerning new, planned, or upgraded services or technology developments and customer contracts or use of our services.
The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for
our service, new products and services, our new business model, our past operating losses, possible fluctuations in our operating results and rate
of growth, interruptions or delays in our Web hosting, breach of our security measures, the outcome of any litigation, risks associated with
completed and any possible mergers and acquisitions, the immature market in which we operate, our relatively limited operating history, our ability
to expand, retain, and motivate our employees and manage our growth, new releases of our service and successful customer deployment, our
limited history reselling non-salesforce.com products, and utilization and selling to larger enterprise customers. Further information on potential
factors that could affect the financial results of salesforce.com, inc. is included in our annual report on Form 10-K for the most recent fiscal year
and in our quarterly report on Form 10-Q for the most recent fiscal quarter. These documents and others containing important disclosures are
available on the SEC Filings section of the Investor Information section of our Web site.
Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently available and
may not be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are
currently available. Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements.
Go Social!
Salesforce Developers
Salesforce Developers
Salesforce Developers
The video will be posted to YouTube & the
webinar recap page (same URL as registration).This webinar is being recorded!
@salesforcedevs / #forcewebinar
▪ Don’t wait until the end to ask your question!
– Technical support will answer questions starting now.
▪ Respect Q&A etiquette
– Please don’t repeat questions. The support team is working
their way down the queue.
▪ Stick around for live Q&A at the end
– Speakers will tackle more questions at the end, time-
allowing.
▪ Head to Developer Forums
– More questions? Visit developer.salesforce.com/forums
Have Questions?
Agenda
1. Intro and Overview
2. Integration Dependencies
3. Data CRUD Integration
4. Salesforce Connect
5. Apex Integration Services
6. Roundup of Other Integration Topics
Who Are You?
 Experience with integration and use of APIs
 New(ish) to Salesforce
Introduction
What makes a platform…
Is this a platform?
…a Platform?
Comprehensive APIs, Toolkits, and Support of
Standards
Web Service
Endpoint
Web Service
Endpoint
Apex
WS/REST
Outbound
Messaging
Business Logic
Bulk API
Odata
(Salesforce
Connect)
Streaming API
Topic/Channel
CRUD
(SOAP/REST)
Data
Extnernal
Object
Bayeux
Client
Applications, Devices, Middleware
Java SDK Ruby gem PHP Toolkit Mobile SDK
3rd Party
Adapters
Apex
Callouts
Salesforce API Implementation
 Versioned (currently v37)
 Major Release 3 Times Per Year
 Use of Standards and Common Architectural Patterns
 Customer updates to schema automatically reflected
Tools for the API
 Workbench
 Force CLI
 Postman
 CURL
Demo: Workbench
Dependencies
Knowing the Platform
 User
 Authorization
 Security
 SOQL/SOSL
 Apex
 Declarative Customization
Identity and Authorization
 Identity: User, Profile, License
 Authorization: OAuth 2.0
Broker__c
Security
 User Profile Access
 Sharing
Name Phone__c Email__c Title__c
Caroline King +1-612-554-8532 cking@brokers.com Territory Manager
Alistair Krei +1-415-467-8890 akrei@brokers.com Real Estate Agent
Rajesh Hamal +1-213-355-2241 rhamal@brokers.co
m
Property Broker
Wei Tong +1-206-888-4320 wtong@brokers.com Real Estate Agent
Profile (Configuration)
Sharing
(Dynamic)
Entity
Field
Row
//SOQL – Salesforce Object Query Language
SELECT Id, Name, Title__c, Beds__c Broker__r.Name
FROM Property__c
WHERE Beds__c >= 3
//SOSL - Salesforce Object Search Language
FIND {GU19*} RETURNING Account, Property__c
Query and Search Languages
Customization
 Apex Code
 Custom Declarative Logic
Demo: Why These Matter
Data and CRUD APIs
Client Applications and Services
REST API
SOAP API
Automatic API Endpoint Creation
Account
Property__c
/SObjects/Account
/SObjects/Account/describe
/query?q=SELECT+Name,Type+FROM+Account
...
/SObjects/Property__c
/SObjects/Property__c/describe
/query?q=SELECT+Name,Type__c+FROM+Property__c
...
Demo: Exploring the REST API
Libraries, Toolkits, and SDKs
Salesforce Connect
Salesforce Connect
 OData 2.0/4.0 or Custom Connector using Apex
 External data represented as Salesforce entity
 Introspection of schema of system of record
 No data duplication
 Data mastering at system of record
Simple Salesforce Connect Integration Architecture
ERP
OData
Integration Architecture with Federation via
Middleware
Middleware(OData)
ERP Business
Unit 1
ERP Business
Unit 2
ERP Business
Unit 3
Demo: Salesforce Connect
Apex Integration Services
HttpRequest req = new HttpRequest();
req.setEndpoint(url);
req.setMethod(method);
req.setBody(body);
Http http = new Http();
HttpResponse resp = http.send(req);
Apex Requests to External Systems
@RestResource(urlMapping='/propertyhub/*')
global class PropertiesService {
@HttpGet
global static List<Property__c> getNearbyProperties(){
List<Property__c> retProps = new List<Property__c>();
RestRequest req = RestContext.request;
RestResponse resp = RestContext.response;
...
return retProps;
}
Custom Apex API
Demo: Apex and Integration
Integration Round Up
Streaming API
 Pub/Sub Integration Model
 Long Polling with Bayeux Protocol Clients
 Replayable
Push Data Updates
Outbound Message
 Invoked by Decarative Rule (No Code)
 POST of SOAP message to external middleware
 Messages are Queued and Retried
Push Data Updates
Lightning Out
 Lightning Components in Your Web App
Canvas API
 Your UI in Salesforce
San Francisco
October 4-7, 2016
Moscone West
Join us in the Developer Zone
Dreamforce ‘16
We hope to see you there!
Q & A
Post additional questions in
developer.salesforce.com/forums/
Try Trailhead: trailhead.salesforce.com
Join the conversation: @salesforcedevs
Integrating with salesforce
Integrating with salesforce
Integrating with salesforce
References
 Tools
– Workbench App
– Workbench Github Repo
 Data APIs
– REST:
– SOAP:
– Bulk
Thank You

More Related Content

PPTX
Salesforce data model
PDF
Getting started with Salesforce security
PPTX
Introduction to Apex for Developers
PPTX
Salesforce Integration Patterns
PPT
Salesforce Presentation
PDF
Manage Development in Your Org with Salesforce Governance Framework
PPTX
Introduction to Salesforce Platform - Basic
PDF
Apex Enterprise Patterns: Building Strong Foundations
Salesforce data model
Getting started with Salesforce security
Introduction to Apex for Developers
Salesforce Integration Patterns
Salesforce Presentation
Manage Development in Your Org with Salesforce Governance Framework
Introduction to Salesforce Platform - Basic
Apex Enterprise Patterns: Building Strong Foundations

What's hot (20)

PPTX
Salesforce Integration Pattern Overview
PPT
Salesforce Integration
PDF
Two-Way Integration with Writable External Objects
PDF
Introduction to Apex Triggers
PPTX
Deep dive into Salesforce Connected App
PDF
Salesforce Application Lifecycle Management presented to EA Forum by Sam Garf...
PPTX
Salesforce integration best practices columbus meetup
PPTX
Introduction to lightning Web Component
PPTX
Salesforce admin training 1
PDF
Introduction to the Salesforce Security Model
PDF
Discover salesforce, dev ops and Copado CI/CD automations
PPTX
Salesforce Overview For Beginners/Students
PPTX
Salesforce Flows Architecture Best Practices
PPTX
Salesforce Multitenant Architecture: How We Do the Magic We Do
PDF
Architecting Multi-Org Solutions
PPTX
Tackling Salesforce Technical Debt
PPTX
Real Time Integration with Salesforce Platform Events
PPTX
Salesforce for Marketing Overview Deck
PDF
Introduction to Salesforce | Salesforce Tutorial for Beginners | Salesforce T...
PDF
Lwc presentation
Salesforce Integration Pattern Overview
Salesforce Integration
Two-Way Integration with Writable External Objects
Introduction to Apex Triggers
Deep dive into Salesforce Connected App
Salesforce Application Lifecycle Management presented to EA Forum by Sam Garf...
Salesforce integration best practices columbus meetup
Introduction to lightning Web Component
Salesforce admin training 1
Introduction to the Salesforce Security Model
Discover salesforce, dev ops and Copado CI/CD automations
Salesforce Overview For Beginners/Students
Salesforce Flows Architecture Best Practices
Salesforce Multitenant Architecture: How We Do the Magic We Do
Architecting Multi-Org Solutions
Tackling Salesforce Technical Debt
Real Time Integration with Salesforce Platform Events
Salesforce for Marketing Overview Deck
Introduction to Salesforce | Salesforce Tutorial for Beginners | Salesforce T...
Lwc presentation
Ad

Viewers also liked (20)

PPTX
Bringing Your Back Office Data To Life with Salesforce Connect
PPT
Salesforce1 Platform for programmers
PDF
Building towards a Composite API Framework in Salesforce
PPTX
Solving Complex Data Load Challenges
PPTX
2016 ISBG - Salesforce App Cloud and Domino - same same, but different
PDF
Snowforce 2017 Keynote - Peter Coffee
PPTX
2016 ISBG - Enterprise integration done right with Salesforce Lightning, IBM ...
PPTX
Salesforce Connect External Object Reports
PPTX
Salesforce ppt v07122013
PDF
Salesforce API Series: Release Management with the Metadata API webinar
PPTX
Building Apps Faster with Lightning and Winter '17
PDF
Salesforce API Series: Integrating Applications with Force.com Webinar
PPTX
Webinar: Integrating Salesforce and Slack (05 12-16)
PPTX
Salesforce Admin
PPTX
Introducing the Salesforce platform
PPT
Salesforce complete overview
PPTX
Salesforce 101
PPT
Why Join Datacolor?
PPTX
Build, Manage, and Deploy Mobile Apps Faster with App Cloud Mobile
PPT
Advanced Platform Series - OAuth and Social Authentication
Bringing Your Back Office Data To Life with Salesforce Connect
Salesforce1 Platform for programmers
Building towards a Composite API Framework in Salesforce
Solving Complex Data Load Challenges
2016 ISBG - Salesforce App Cloud and Domino - same same, but different
Snowforce 2017 Keynote - Peter Coffee
2016 ISBG - Enterprise integration done right with Salesforce Lightning, IBM ...
Salesforce Connect External Object Reports
Salesforce ppt v07122013
Salesforce API Series: Release Management with the Metadata API webinar
Building Apps Faster with Lightning and Winter '17
Salesforce API Series: Integrating Applications with Force.com Webinar
Webinar: Integrating Salesforce and Slack (05 12-16)
Salesforce Admin
Introducing the Salesforce platform
Salesforce complete overview
Salesforce 101
Why Join Datacolor?
Build, Manage, and Deploy Mobile Apps Faster with App Cloud Mobile
Advanced Platform Series - OAuth and Social Authentication
Ad

Similar to Integrating with salesforce (20)

PPTX
The Power of Salesforce APIs World Tour Edition
PPTX
Using Apex for REST Integration
PDF
Easy No-Code Integrations with External Services and Visual Flow
PPTX
[MBF2] Plate-forme Salesforce par Peter Chittum
PDF
An Inside Look at a Large-scale Writer-driven REST API Doc Solution at Salesf...
PPTX
Salesforce Campus Tour - Developer Intro
PDF
Elevate london dec 2014.pptx
PPTX
February 2020 Salesforce API Review
PPTX
Navi Mumbai Salesforce DUG meetup on integration
PPTX
Salesforce Campus Tour - Declarative
PPTX
Salesforce Campus Tour - Developer Advanced
PPTX
Build custom user interfaces for your Salesforce data with the UI API
PDF
Unlock SAP - Release the potential of your existing backend systems with Sale...
POTX
Hands-on Workshop: Intermediate Development with Heroku and Force.com
PDF
Spring '16 Release Preview Webinar
PPTX
#Df17 Recap Series Build Apps Faster with the Salesforce Platform
PPTX
JDF18 - Connecting the customer success platform
PDF
Our API Evolution: From Metadata to Tooling API for Building Incredible Apps
PPTX
Building apps faster with lightning and winter '17
PDF
Just-In-Time Sharing Using Apex
The Power of Salesforce APIs World Tour Edition
Using Apex for REST Integration
Easy No-Code Integrations with External Services and Visual Flow
[MBF2] Plate-forme Salesforce par Peter Chittum
An Inside Look at a Large-scale Writer-driven REST API Doc Solution at Salesf...
Salesforce Campus Tour - Developer Intro
Elevate london dec 2014.pptx
February 2020 Salesforce API Review
Navi Mumbai Salesforce DUG meetup on integration
Salesforce Campus Tour - Declarative
Salesforce Campus Tour - Developer Advanced
Build custom user interfaces for your Salesforce data with the UI API
Unlock SAP - Release the potential of your existing backend systems with Sale...
Hands-on Workshop: Intermediate Development with Heroku and Force.com
Spring '16 Release Preview Webinar
#Df17 Recap Series Build Apps Faster with the Salesforce Platform
JDF18 - Connecting the customer success platform
Our API Evolution: From Metadata to Tooling API for Building Incredible Apps
Building apps faster with lightning and winter '17
Just-In-Time Sharing Using Apex

Recently uploaded (20)

PPTX
Odoo POS Development Services by CandidRoot Solutions
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PDF
How Creative Agencies Leverage Project Management Software.pdf
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PPT
Introduction Database Management System for Course Database
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
Understanding Forklifts - TECH EHS Solution
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PDF
PTS Company Brochure 2025 (1).pdf.......
PPTX
Introduction to Artificial Intelligence
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
System and Network Administraation Chapter 3
PPTX
ManageIQ - Sprint 268 Review - Slide Deck
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PPTX
history of c programming in notes for students .pptx
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
Odoo POS Development Services by CandidRoot Solutions
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
How Creative Agencies Leverage Project Management Software.pdf
Which alternative to Crystal Reports is best for small or large businesses.pdf
Introduction Database Management System for Course Database
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Understanding Forklifts - TECH EHS Solution
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PTS Company Brochure 2025 (1).pdf.......
Introduction to Artificial Intelligence
Design an Analysis of Algorithms II-SECS-1021-03
CHAPTER 2 - PM Management and IT Context
Design an Analysis of Algorithms I-SECS-1021-03
System and Network Administraation Chapter 3
ManageIQ - Sprint 268 Review - Slide Deck
Navsoft: AI-Powered Business Solutions & Custom Software Development
history of c programming in notes for students .pptx
2025 Textile ERP Trends: SAP, Odoo & Oracle

Integrating with salesforce

  • 2. Forward-Looking Statement Statement under the Private Securities Litigation Reform Act of 1995: This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or if any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or implied by the forward-looking statements we make. All statements other than statements of historical fact could be deemed forward-looking, including any projections of product or service availability, subscriber growth, earnings, revenues, or other financial items and any statements regarding strategies or plans of management for future operations, statements of belief, any statements concerning new, planned, or upgraded services or technology developments and customer contracts or use of our services. The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for our service, new products and services, our new business model, our past operating losses, possible fluctuations in our operating results and rate of growth, interruptions or delays in our Web hosting, breach of our security measures, the outcome of any litigation, risks associated with completed and any possible mergers and acquisitions, the immature market in which we operate, our relatively limited operating history, our ability to expand, retain, and motivate our employees and manage our growth, new releases of our service and successful customer deployment, our limited history reselling non-salesforce.com products, and utilization and selling to larger enterprise customers. Further information on potential factors that could affect the financial results of salesforce.com, inc. is included in our annual report on Form 10-K for the most recent fiscal year and in our quarterly report on Form 10-Q for the most recent fiscal quarter. These documents and others containing important disclosures are available on the SEC Filings section of the Investor Information section of our Web site. Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are currently available. Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements.
  • 3. Go Social! Salesforce Developers Salesforce Developers Salesforce Developers The video will be posted to YouTube & the webinar recap page (same URL as registration).This webinar is being recorded! @salesforcedevs / #forcewebinar
  • 4. ▪ Don’t wait until the end to ask your question! – Technical support will answer questions starting now. ▪ Respect Q&A etiquette – Please don’t repeat questions. The support team is working their way down the queue. ▪ Stick around for live Q&A at the end – Speakers will tackle more questions at the end, time- allowing. ▪ Head to Developer Forums – More questions? Visit developer.salesforce.com/forums Have Questions?
  • 5. Agenda 1. Intro and Overview 2. Integration Dependencies 3. Data CRUD Integration 4. Salesforce Connect 5. Apex Integration Services 6. Roundup of Other Integration Topics
  • 6. Who Are You?  Experience with integration and use of APIs  New(ish) to Salesforce
  • 8. What makes a platform… Is this a platform?
  • 10. Comprehensive APIs, Toolkits, and Support of Standards Web Service Endpoint Web Service Endpoint Apex WS/REST Outbound Messaging Business Logic Bulk API Odata (Salesforce Connect) Streaming API Topic/Channel CRUD (SOAP/REST) Data Extnernal Object Bayeux Client Applications, Devices, Middleware Java SDK Ruby gem PHP Toolkit Mobile SDK 3rd Party Adapters Apex Callouts
  • 11. Salesforce API Implementation  Versioned (currently v37)  Major Release 3 Times Per Year  Use of Standards and Common Architectural Patterns  Customer updates to schema automatically reflected
  • 12. Tools for the API  Workbench  Force CLI  Postman  CURL
  • 15. Knowing the Platform  User  Authorization  Security  SOQL/SOSL  Apex  Declarative Customization
  • 16. Identity and Authorization  Identity: User, Profile, License  Authorization: OAuth 2.0
  • 17. Broker__c Security  User Profile Access  Sharing Name Phone__c Email__c Title__c Caroline King +1-612-554-8532 cking@brokers.com Territory Manager Alistair Krei +1-415-467-8890 akrei@brokers.com Real Estate Agent Rajesh Hamal +1-213-355-2241 rhamal@brokers.co m Property Broker Wei Tong +1-206-888-4320 wtong@brokers.com Real Estate Agent Profile (Configuration) Sharing (Dynamic) Entity Field Row
  • 18. //SOQL – Salesforce Object Query Language SELECT Id, Name, Title__c, Beds__c Broker__r.Name FROM Property__c WHERE Beds__c >= 3 //SOSL - Salesforce Object Search Language FIND {GU19*} RETURNING Account, Property__c Query and Search Languages
  • 19. Customization  Apex Code  Custom Declarative Logic
  • 20. Demo: Why These Matter
  • 22. Client Applications and Services REST API SOAP API
  • 23. Automatic API Endpoint Creation Account Property__c /SObjects/Account /SObjects/Account/describe /query?q=SELECT+Name,Type+FROM+Account ... /SObjects/Property__c /SObjects/Property__c/describe /query?q=SELECT+Name,Type__c+FROM+Property__c ...
  • 27. Salesforce Connect  OData 2.0/4.0 or Custom Connector using Apex  External data represented as Salesforce entity  Introspection of schema of system of record  No data duplication  Data mastering at system of record
  • 28. Simple Salesforce Connect Integration Architecture ERP OData
  • 29. Integration Architecture with Federation via Middleware Middleware(OData) ERP Business Unit 1 ERP Business Unit 2 ERP Business Unit 3
  • 32. HttpRequest req = new HttpRequest(); req.setEndpoint(url); req.setMethod(method); req.setBody(body); Http http = new Http(); HttpResponse resp = http.send(req); Apex Requests to External Systems
  • 33. @RestResource(urlMapping='/propertyhub/*') global class PropertiesService { @HttpGet global static List<Property__c> getNearbyProperties(){ List<Property__c> retProps = new List<Property__c>(); RestRequest req = RestContext.request; RestResponse resp = RestContext.response; ... return retProps; } Custom Apex API
  • 34. Demo: Apex and Integration
  • 36. Streaming API  Pub/Sub Integration Model  Long Polling with Bayeux Protocol Clients  Replayable Push Data Updates
  • 37. Outbound Message  Invoked by Decarative Rule (No Code)  POST of SOAP message to external middleware  Messages are Queued and Retried Push Data Updates
  • 38. Lightning Out  Lightning Components in Your Web App
  • 39. Canvas API  Your UI in Salesforce
  • 40. San Francisco October 4-7, 2016 Moscone West Join us in the Developer Zone Dreamforce ‘16 We hope to see you there!
  • 41. Q & A Post additional questions in developer.salesforce.com/forums/ Try Trailhead: trailhead.salesforce.com Join the conversation: @salesforcedevs
  • 45. References  Tools – Workbench App – Workbench Github Repo  Data APIs – REST: – SOAP: – Bulk