SlideShare a Scribd company logo
21 st August 2021
[12:00 IST (GMT+05:30)
MuleSoft Salesforce Connector |
Configurations | Integration and Design
Patterns
Organizers
2
Nitish Jain
Jitendra Bafna
Speakers
3
Neelam Deshmukh
4
Agenda
Prerequisites
What is Salesforce?
○ Introduction
○ Benefits of Salesforce
○ Salesforce Basics
MuleSoft Salesforce Connector
○ Overview
○ Installation in Anypoint Studio
○ Authentication
○ Configuration
Salesforce Integration Use
Case
○ Data Migration
○ Broadcast
○ FTP to Salesforce
5
We will need below for the Salesforce connector:
❖ Anypoint Studio 7 or later
❖ Salesforce developer account and
❖ Salesforce security token
Prerequisites
What is Salesforce
Scenario
7
What is Salesforce ?
● Salesforce is your Customer Relationship Management platform which ensures
smooth and efficient interaction with customers.
● With its features we can manage, collaborate and engage with partners and store
data securely in the cloud.
● It supports all the features needed to run business from anywhere
8
9
Benefits of Salesforce
● With Salesforce tools, we can concentrate more on application rather than building the
infrastructure.
● Salesforce seamlessly integrates with 3rd party apps.
● Fast – Traditional CRM software can take more than a year to deploy, compare that to
months or even weeks with Salesforce.
● Easy – Salesforce wins in the easy to use category hands down. You can spend more
time putting it to use and less time figuring it out.
● Effective – Because it is easy to use and can be customized to meet business needs,
customers find Salesforce very effective.
10
11
● Salesforce organizes data into objects and records.
● Salesforce has objects like Accounts,Contacts,Lead,Opportunities etc.
● Think of Object like Table in SQL,Row is Record and Column as field in Salesforce.
Salesforce Basics
MuleSoft Salesforce Connector
13
● The Anypoint Connector for Salesforce lets you connect to
the Salesforce platform and enables developers to connect
and access data from Mule application.
● It is capable of performing all of the operations exposed by
Salesforce via their APIs.
● With the Salesforce Connector, you can connect directly to
the Salesforce APIs without needing to write any code.
● Using this connector business can create instant
connectivity between Salesforce and popular ERP systems
Overview
Features
○ Authentication and Session Management Support
○ SOAP, REST, Bulk, Metadata API and Streaming API
○ Apex Classes - It also supports calling APEX Classes.Apex is Salesforce native
programming language via SOAP and REST API
○ Access to Salesforce data - It is usually done by SOAP API allowing creation,
retrieval,updation and deletion of salesforce hosted data
14
15
● For Installation in Anypoint Studio,
Search in Exchange for Salesforce
Connector and add in Mule Palette.
Installation in Anypoint Studio
16
Authentication
To access the data in a Salesforce instance, we get following connection types to
configure:
❖ Basic Authentication - Uses a username and password for authentication
❖ OAuth 2.0 - Delegates user authentication to the service hosting the user account
❖ OAuth 2.0 JWT - Uses OAuth 2.0 with a JSON Web token (JWT) request for user
authentication
❖ OAuth 2.0 SAML - Uses OAuth 2.0 with a signed SAML 2.0 assertion to request an
access token
❖ OAuth 2.0 Username-Password - Uses OAuth 2.0 with a user and password for
authentication
17
Basic Authentication Configuration
Fields Needed:
● Username - Salesforce
Username
● Password -
Corresponding Password
● Security Token -
Corresponding Security
Token
18
Steps to get Security Token
Settings > My Personal Information > Reset My Security Token
19
OAuth Authentication Configuration
Configuration Details :
● Consumer key - Consumer key for the
Salesforce Connected App
● Consumer Secret - Consumer Secret for
the connector to access Salesforce
● Authorization URL - Url for Authorization
● Access Token URL - Url to access token
● Callback Path - Path for Callback
● Authorize Path - Path for authorization
● External callback URL- Callback Url is
same configured in Salesforce Connected
App.
Note - Consumer key and secret requires a
Connected App to be created in Salesforce
instance.
20
Steps to Create Connected App
SetUp > Apps > App Manager > New Connected App
Salesforce Integration Use Case
22
Data Migration
● Data migration is to move a specific set of data
from one system to another.
● This pattern is intended to handle large
volumes of data, and you can process records
in batches using the Batch Connector.
23
Data Migration Mule Flow
24
Broadcast
● The broadcast pattern moves data from a single
source system to multiple destination systems in
real-time.
● This is considered to be a “one-way sync” and is
optimized for processing records as quickly as
possible.
● Broadcast patterns are also used to keep data up
to date between multiple systems.
25
Broadcast Mule Flow
26
FTP to Salesforce
● FTP is a standard internet protocol
used for transmitting files from one
host to another
● It overcomes problems like different
file conventions and different data
representation by establishing two
connections between hosts.
● FTP enables you to import files from
one host to Salesforce Objects like
Account, Contact, Lead etc.
27
FTP to Salesforce Mule Flow
28
Demo !!
Q & A Session
Thank you

More Related Content

PPTX
Hyderabad meet up-sep12
PDF
MuleSoft Nashik Virtual Meetup#2 - API Led Connectivity Integration:SAGA
PPTX
MuleSoft Meetup Virtual_ 2_Charlotte
PPTX
Indianapolis mulesoft meetup_sep_11_2021
PDF
Containerising the Mule Runtime with Kubernetes & From Zero to Batch : MuleS...
PDF
20210916 mule soft_meetup_nz_online_uploadedversion
PDF
Operationalizing your C4E VirtualMuleys & Deployment Considerations: Cloudhub...
PPTX
Meetup bangalore-sept5th 2020 (1)
Hyderabad meet up-sep12
MuleSoft Nashik Virtual Meetup#2 - API Led Connectivity Integration:SAGA
MuleSoft Meetup Virtual_ 2_Charlotte
Indianapolis mulesoft meetup_sep_11_2021
Containerising the Mule Runtime with Kubernetes & From Zero to Batch : MuleS...
20210916 mule soft_meetup_nz_online_uploadedversion
Operationalizing your C4E VirtualMuleys & Deployment Considerations: Cloudhub...
Meetup bangalore-sept5th 2020 (1)

What's hot (20)

PPTX
Manchester Meetup #3
PDF
MuleSoft Anypoint Platform and Three Tier Architecture
PPTX
Mule soft meetup_noida_jan_2022
PDF
MuleSoft Surat Virtual Meetup#8 - Anypoint Business Group Connected Apps and ...
PPTX
Mule soft meetup_virtual_ 3_charlotte_07july_2021__final
PPTX
MuleSoft Meetup Bangalore - March 6 2021
PPTX
Chicago rtf meetup august 17 2021
PPTX
Meet up slides_mumbai_21032020_final
PPTX
Introduction to Mulesoft
PDF
Mule 4 migration + Common Integration Challenges : MuleSoft Virtual Muleys Me...
PDF
Metadata definition between flows on Studio 7 : MuleSoft Virtual Muleys Meetups
PDF
Deep Dive on CI/CD NYC Meet Up Group
PPTX
How Secure is Your API?
PDF
MuleSoft MUnit Test Recorder Meetup
PPTX
Bangalore mulesoft meetup#10
PPTX
Mulesoft Solutions for SOA
PPTX
Mulesoft
PPTX
Rtf externalize tls MuleSoft meetup
PPTX
Richmond MuleSoft Meetup 2021-08-18
PDF
Melbourne Virtual MuleSoft Meetup October 2021
Manchester Meetup #3
MuleSoft Anypoint Platform and Three Tier Architecture
Mule soft meetup_noida_jan_2022
MuleSoft Surat Virtual Meetup#8 - Anypoint Business Group Connected Apps and ...
Mule soft meetup_virtual_ 3_charlotte_07july_2021__final
MuleSoft Meetup Bangalore - March 6 2021
Chicago rtf meetup august 17 2021
Meet up slides_mumbai_21032020_final
Introduction to Mulesoft
Mule 4 migration + Common Integration Challenges : MuleSoft Virtual Muleys Me...
Metadata definition between flows on Studio 7 : MuleSoft Virtual Muleys Meetups
Deep Dive on CI/CD NYC Meet Up Group
How Secure is Your API?
MuleSoft MUnit Test Recorder Meetup
Bangalore mulesoft meetup#10
Mulesoft Solutions for SOA
Mulesoft
Rtf externalize tls MuleSoft meetup
Richmond MuleSoft Meetup 2021-08-18
Melbourne Virtual MuleSoft Meetup October 2021
Ad

Similar to MuleSoft Surat Virtual Meetup#24 - MuleSoft and Salesforce Integration and Design Patterns (20)

PPTX
Salesforce Integration with MuleSoft | MuleSoft Mysore Meetup #12
PPT
Mule salesforce integration solutions
PPT
Mule salesforce integration solutions
PPT
Mule salesforce integration solutions
PPT
Mule SIS
PPTX
Secure Development on the Salesforce Platform - Part 3
PPTX
Integration with Salesforce using Mule ESB
PDF
Simplifying Integrations With Salesforce? How to elevate customer relationshi...
PPTX
Create Account in Salesforce using Mule ESB
PPT
Mule salesforce
PDF
Secure Salesforce: External App Integrations
PPT
Mule NetSuite connectors
PPT
Mule net suite connectors
PDF
Meetup slide 15_dec_v2
PPTX
The Integrations Behind Connecting With Salesforce
PPTX
Create salesforce account
PDF
Engineering Student MuleSoft Meetup#7 - Leveraging MuleSoft Service in Salesf...
PPTX
Integration with sales force
PPTX
JDF18 - Connecting the customer success platform
PDF
Blazing new trails with salesforce data nov 16, 2021
Salesforce Integration with MuleSoft | MuleSoft Mysore Meetup #12
Mule salesforce integration solutions
Mule salesforce integration solutions
Mule salesforce integration solutions
Mule SIS
Secure Development on the Salesforce Platform - Part 3
Integration with Salesforce using Mule ESB
Simplifying Integrations With Salesforce? How to elevate customer relationshi...
Create Account in Salesforce using Mule ESB
Mule salesforce
Secure Salesforce: External App Integrations
Mule NetSuite connectors
Mule net suite connectors
Meetup slide 15_dec_v2
The Integrations Behind Connecting With Salesforce
Create salesforce account
Engineering Student MuleSoft Meetup#7 - Leveraging MuleSoft Service in Salesf...
Integration with sales force
JDF18 - Connecting the customer success platform
Blazing new trails with salesforce data nov 16, 2021
Ad

More from Jitendra Bafna (20)

PDF
MuleSoft Surat Meetup#55 - Unleash the power of Anypoint MQ
PDF
MuleSoft Surat Meetup#54 - MuleSoft Automation
PDF
MuleSoft Surat Meetup#53 - MuleSoft for Clinical Trial Modernization
PDF
MuleSoft Surat Meetup#52 - Flex Gateway (Port Based Routing V/S Path Based Ro...
PDF
MuleSoft Surat Meetup#51 - API Monitoring - Through a New Lens
PDF
MuleSoft Nashik Meetup#7 - Building FHIR applications in MongoDB using MuleSoft
PDF
MuleSoft Surat Meetup#50 - Ask the MuleSoft Ambassadors + CloudHub 2.0 Overvi...
PDF
MuleSoft Surat Meetup#49 - Robotic Process Automation - Why, Where, When and ...
PDF
MuleSoft Surat Meetup#48 - Anypoint API Governance (RAML, OAS and Async API) ...
PDF
MuleSoft Surat Meetup#47 - Error Handling With MuleSoft
PDF
MuleSoft Surat Meetup#46 - Deep Dive into MUnit With MuleSoft
PDF
MuleSoft Surat Meetup#45 - Anypoint Flex Gateway as a Kubernetes Ingress Cont...
PDF
MuleSoft Surat Meetup#44 - Anypoint Flex Gateway Custom Policies With Rust
PDF
Engineering Student MuleSoft Meetup#6 - Basic Understanding of DataWeave With...
PDF
MuleSoft Nashik Meetup#5 - JSON Logger and Externalize Logs
PDF
MuleSoft Surat Meetup#43 - Combine Service Mesh With Anypoint API Management ...
PDF
Engineering Student MuleSoft Meetup#5 - Error Handling With MuleSoft
PDF
MuleSoft Surat Meetup#42 - Runtime Fabric Manager on Self Managed Kubernetes ...
PDF
MuleSoft Surat Meetup#41 - Universal API Management, Anypoint Flex Gateway an...
PDF
MuleSoft Surat Meetup#40 - Watermarking Concept and Fragments in MuleSoft
MuleSoft Surat Meetup#55 - Unleash the power of Anypoint MQ
MuleSoft Surat Meetup#54 - MuleSoft Automation
MuleSoft Surat Meetup#53 - MuleSoft for Clinical Trial Modernization
MuleSoft Surat Meetup#52 - Flex Gateway (Port Based Routing V/S Path Based Ro...
MuleSoft Surat Meetup#51 - API Monitoring - Through a New Lens
MuleSoft Nashik Meetup#7 - Building FHIR applications in MongoDB using MuleSoft
MuleSoft Surat Meetup#50 - Ask the MuleSoft Ambassadors + CloudHub 2.0 Overvi...
MuleSoft Surat Meetup#49 - Robotic Process Automation - Why, Where, When and ...
MuleSoft Surat Meetup#48 - Anypoint API Governance (RAML, OAS and Async API) ...
MuleSoft Surat Meetup#47 - Error Handling With MuleSoft
MuleSoft Surat Meetup#46 - Deep Dive into MUnit With MuleSoft
MuleSoft Surat Meetup#45 - Anypoint Flex Gateway as a Kubernetes Ingress Cont...
MuleSoft Surat Meetup#44 - Anypoint Flex Gateway Custom Policies With Rust
Engineering Student MuleSoft Meetup#6 - Basic Understanding of DataWeave With...
MuleSoft Nashik Meetup#5 - JSON Logger and Externalize Logs
MuleSoft Surat Meetup#43 - Combine Service Mesh With Anypoint API Management ...
Engineering Student MuleSoft Meetup#5 - Error Handling With MuleSoft
MuleSoft Surat Meetup#42 - Runtime Fabric Manager on Self Managed Kubernetes ...
MuleSoft Surat Meetup#41 - Universal API Management, Anypoint Flex Gateway an...
MuleSoft Surat Meetup#40 - Watermarking Concept and Fragments in MuleSoft

Recently uploaded (20)

PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
Cloud computing and distributed systems.
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
KodekX | Application Modernization Development
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Approach and Philosophy of On baking technology
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Empathic Computing: Creating Shared Understanding
PDF
cuic standard and advanced reporting.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Cloud computing and distributed systems.
Mobile App Security Testing_ A Comprehensive Guide.pdf
NewMind AI Monthly Chronicles - July 2025
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
NewMind AI Weekly Chronicles - August'25 Week I
Agricultural_Statistics_at_a_Glance_2022_0.pdf
KodekX | Application Modernization Development
Understanding_Digital_Forensics_Presentation.pptx
Advanced methodologies resolving dimensionality complications for autism neur...
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Diabetes mellitus diagnosis method based random forest with bat algorithm
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Approach and Philosophy of On baking technology
“AI and Expert System Decision Support & Business Intelligence Systems”
Dropbox Q2 2025 Financial Results & Investor Presentation
Empathic Computing: Creating Shared Understanding
cuic standard and advanced reporting.pdf

MuleSoft Surat Virtual Meetup#24 - MuleSoft and Salesforce Integration and Design Patterns

  • 1. 21 st August 2021 [12:00 IST (GMT+05:30) MuleSoft Salesforce Connector | Configurations | Integration and Design Patterns
  • 4. 4 Agenda Prerequisites What is Salesforce? ○ Introduction ○ Benefits of Salesforce ○ Salesforce Basics MuleSoft Salesforce Connector ○ Overview ○ Installation in Anypoint Studio ○ Authentication ○ Configuration Salesforce Integration Use Case ○ Data Migration ○ Broadcast ○ FTP to Salesforce
  • 5. 5 We will need below for the Salesforce connector: ❖ Anypoint Studio 7 or later ❖ Salesforce developer account and ❖ Salesforce security token Prerequisites
  • 8. What is Salesforce ? ● Salesforce is your Customer Relationship Management platform which ensures smooth and efficient interaction with customers. ● With its features we can manage, collaborate and engage with partners and store data securely in the cloud. ● It supports all the features needed to run business from anywhere 8
  • 9. 9
  • 10. Benefits of Salesforce ● With Salesforce tools, we can concentrate more on application rather than building the infrastructure. ● Salesforce seamlessly integrates with 3rd party apps. ● Fast – Traditional CRM software can take more than a year to deploy, compare that to months or even weeks with Salesforce. ● Easy – Salesforce wins in the easy to use category hands down. You can spend more time putting it to use and less time figuring it out. ● Effective – Because it is easy to use and can be customized to meet business needs, customers find Salesforce very effective. 10
  • 11. 11 ● Salesforce organizes data into objects and records. ● Salesforce has objects like Accounts,Contacts,Lead,Opportunities etc. ● Think of Object like Table in SQL,Row is Record and Column as field in Salesforce. Salesforce Basics
  • 13. 13 ● The Anypoint Connector for Salesforce lets you connect to the Salesforce platform and enables developers to connect and access data from Mule application. ● It is capable of performing all of the operations exposed by Salesforce via their APIs. ● With the Salesforce Connector, you can connect directly to the Salesforce APIs without needing to write any code. ● Using this connector business can create instant connectivity between Salesforce and popular ERP systems Overview
  • 14. Features ○ Authentication and Session Management Support ○ SOAP, REST, Bulk, Metadata API and Streaming API ○ Apex Classes - It also supports calling APEX Classes.Apex is Salesforce native programming language via SOAP and REST API ○ Access to Salesforce data - It is usually done by SOAP API allowing creation, retrieval,updation and deletion of salesforce hosted data 14
  • 15. 15 ● For Installation in Anypoint Studio, Search in Exchange for Salesforce Connector and add in Mule Palette. Installation in Anypoint Studio
  • 16. 16 Authentication To access the data in a Salesforce instance, we get following connection types to configure: ❖ Basic Authentication - Uses a username and password for authentication ❖ OAuth 2.0 - Delegates user authentication to the service hosting the user account ❖ OAuth 2.0 JWT - Uses OAuth 2.0 with a JSON Web token (JWT) request for user authentication ❖ OAuth 2.0 SAML - Uses OAuth 2.0 with a signed SAML 2.0 assertion to request an access token ❖ OAuth 2.0 Username-Password - Uses OAuth 2.0 with a user and password for authentication
  • 17. 17 Basic Authentication Configuration Fields Needed: ● Username - Salesforce Username ● Password - Corresponding Password ● Security Token - Corresponding Security Token
  • 18. 18 Steps to get Security Token Settings > My Personal Information > Reset My Security Token
  • 19. 19 OAuth Authentication Configuration Configuration Details : ● Consumer key - Consumer key for the Salesforce Connected App ● Consumer Secret - Consumer Secret for the connector to access Salesforce ● Authorization URL - Url for Authorization ● Access Token URL - Url to access token ● Callback Path - Path for Callback ● Authorize Path - Path for authorization ● External callback URL- Callback Url is same configured in Salesforce Connected App. Note - Consumer key and secret requires a Connected App to be created in Salesforce instance.
  • 20. 20 Steps to Create Connected App SetUp > Apps > App Manager > New Connected App
  • 22. 22 Data Migration ● Data migration is to move a specific set of data from one system to another. ● This pattern is intended to handle large volumes of data, and you can process records in batches using the Batch Connector.
  • 24. 24 Broadcast ● The broadcast pattern moves data from a single source system to multiple destination systems in real-time. ● This is considered to be a “one-way sync” and is optimized for processing records as quickly as possible. ● Broadcast patterns are also used to keep data up to date between multiple systems.
  • 26. 26 FTP to Salesforce ● FTP is a standard internet protocol used for transmitting files from one host to another ● It overcomes problems like different file conventions and different data representation by establishing two connections between hosts. ● FTP enables you to import files from one host to Salesforce Objects like Account, Contact, Lead etc.
  • 27. 27 FTP to Salesforce Mule Flow
  • 29. Q & A Session