5
Connecting to Salesforce and using Database in Mule ESB Ravi S Mishra

Connecting to salesforce and using database in mule

Embed Size (px)

Citation preview

Page 1: Connecting to salesforce and using database in mule

Connecting to Salesforce and using Database in Mule ESB

Ravi S Mishra

Page 2: Connecting to salesforce and using database in mule

Create the Endpoint

• You have to open the Anypoint Studio and pick an endpoint (e.g HTTP).• Once you select the endpoint you have to configure it. Below screenshot will give your reference for the

same.• The endpoint needs to be configured by providing the path and port.

Page 3: Connecting to salesforce and using database in mule

Configure the Salesforce account

• Before using the salesforce component you should have a salesforce account.• Once you login with your credentials you will get a security token which will be used while configuring the

salesforce component.• After logging in to salesforce website go to account tab and click on create view tab. You can add your own

choice of fields from the list. The fields you select would be visible in the default data set available on salesforce website.

Page 4: Connecting to salesforce and using database in mule

Configuring Salesforce component• Provide the security token you would have received in mail.• Configure the salesforce component as mentioned below with correct credentials.• Once you provide the required input just test the connection.• You can provide a query about the fields you want to see in the resultset. The data is being retrieved from

default data available in your salesforce account.

Page 5: Connecting to salesforce and using database in mule

• Complete your flow by putting an Object to JSON component so that you can see the results in a readable format.

• Run the flow by calling the path and port you have mentioned in HTTP endpoint.