Create Account in Salesforce using Mule ESB
-
Upload
sanjeet-pandey -
Category
Technology
-
view
93 -
download
6
Transcript of Create Account in Salesforce using Mule ESB
![Page 1: Create Account in Salesforce using Mule ESB](https://reader036.fdocuments.in/reader036/viewer/2022073118/55a807ac1a28abdf2f8b478f/html5/thumbnails/1.jpg)
www.sanjeetpandey.com
www.sanjeetpandey.com
Prepared by – Sanjeet Pandey
Create Account in Salesforce using Mule ESB
![Page 2: Create Account in Salesforce using Mule ESB](https://reader036.fdocuments.in/reader036/viewer/2022073118/55a807ac1a28abdf2f8b478f/html5/thumbnails/2.jpg)
www.sanjeetpandey.com
Overview
- MuleSoft provides the most widely used integration platform to connect any application, dataservice or API, across the cloud and on-premise continuum.
- The Salesforce connector establishes connection to Salesforce system using SOAP web service(provided by Salesforce). Almost every operation that can be done via the Salesforce's API can bedone thru this connector. This connector will also work if your Salesforce objects are customizedwith additional fields or even you are working with custom objects. The connector supports theoption to configure Salesforce connection details, connection pooling and max limit of activeconnections.
2
![Page 3: Create Account in Salesforce using Mule ESB](https://reader036.fdocuments.in/reader036/viewer/2022073118/55a807ac1a28abdf2f8b478f/html5/thumbnails/3.jpg)
www.sanjeetpandey.com
Prerequisites
• Salesforce Account
• Salesforce User Name , Password and Security Token
• Mule Anypoint Salesforce Cloud Connector
3
![Page 4: Create Account in Salesforce using Mule ESB](https://reader036.fdocuments.in/reader036/viewer/2022073118/55a807ac1a28abdf2f8b478f/html5/thumbnails/4.jpg)
www.sanjeetpandey.com
Mule Anypoint Salesforce Connector
Configuration: This element must be placed outsideof your flows and at the root of your Muleapplication. You can create as manyconfigurations as you deem necessary as longas each carries its own name.
Connection Pool : Salesforce connector offersautomatic connection management via the useof a connection pool. The pool will act a storagemechanism for all the connections that are in-use by the user of this connector.
Reconnection Strategies : Reconnection Strategiesspecify how a connector behaves when itsconnection fails. You can control how Muleattempts to reconnect by specifying a numberof criteria
4
![Page 5: Create Account in Salesforce using Mule ESB](https://reader036.fdocuments.in/reader036/viewer/2022073118/55a807ac1a28abdf2f8b478f/html5/thumbnails/5.jpg)
www.sanjeetpandey.com
Mule flow
• Steps to be followed for integrating ‘Salesforce' with MuleSoft Applications:
• Create a new Anypoint Studio Project and Flow.
• Before using the Salesforce Connector in the Mule Flows, create a global element for Salesforce configuration which can be reused in all other flows across the Mule project -wherever the objects are created & deleted to & from Salesforce cloud server.
5
![Page 6: Create Account in Salesforce using Mule ESB](https://reader036.fdocuments.in/reader036/viewer/2022073118/55a807ac1a28abdf2f8b478f/html5/thumbnails/6.jpg)
www.sanjeetpandey.com
Mule Flow (cont.)
• Configure the Salesforce connector by providing the following information for the global element
– User Name
– Password
– Security Token
• Use HTTP outbound endpoint to pass the input details to the Salesforce connector
• Configure the Salesforce endpoint by providing the following to create the Account under Salesforce
– link to the ‘global Connector Configuration’
– Operation
6
![Page 7: Create Account in Salesforce using Mule ESB](https://reader036.fdocuments.in/reader036/viewer/2022073118/55a807ac1a28abdf2f8b478f/html5/thumbnails/7.jpg)
www.sanjeetpandey.com
Mule Flow (cont.)
Mule XML -
7
![Page 8: Create Account in Salesforce using Mule ESB](https://reader036.fdocuments.in/reader036/viewer/2022073118/55a807ac1a28abdf2f8b478f/html5/thumbnails/8.jpg)
www.sanjeetpandey.com 8