How to Integrate Salesforce with MuleSoft
Tags: salesforce, beginners, productivity, tutorial
Published: 2019-11-26 11:03:53

---
title: How to Integrate Salesforce with MuleSoft
published: true
tags: #Salesforce, #Beginners,#productivity, #tutorial
canonical_url: https://www.girikon.com/blog/salesforce-mulesoft-integration/
---

 **Our Salesforce Consulting Team steps through a simple MuleSoft Integration**

At Girikon, a Silver [**Salesforce Consulting Company**](https://www.girikon.com.au/salesforce-consultant/)we believe Salesforce is the world’s no. 1 cloud platform based on CRM (Customer Relationship Management) capabilities. Early last year Salesforce agreed to acquire MuleSoft for a mutli-million-dollar cash and stock deal. MuleSoft, a software company that provides integration software for connecting applications, data and devices.

Girikon’s Salesforce Consultants specialise in many Salesforce products and after the announcement our consulting team gained certifications in MuleSoft. Girikon is commitment to keeping ahead of the pack with knowledge and certifications for leading technologies.  

In this blog we are focusing on Salesforce integration with MuleSoft. 

Firstly, we will need a Salesforce developer account by clicking on the following link:

 [https://developer.salesforce.com/signup](https://developer.salesforce.com/signup). 

Then a MuleSoft account by clicking the following link:

[https://anypoint.mulesoft.com/login/signup](https://anypoint.mulesoft.com/login/signup).

In this first example we can send a couple of contact records to Salesforce with the help of MuleSoft. For this we have to download any point studio which is a MuleSoft IDE by clicking on this link [https://www.mulesoft.com/lp/dl/studio](https://www.mulesoft.com/lp/dl/studio). 

We are going to use any point studio for this data transfer. First download the any point studio. Then extract the zip file in your directory and the click on the application to install it. After installation is finished click on the any point studio icon it will launch a wizard like shown in the figure below.

<center><a href="https://www.girikon.com/wp-content/uploads/2019/07/image1-3.png"><img src="https://www.girikon.com/wp-content/uploads/2019/07/image1-3.png" alt="Mulesoft Integration"></a></center><center> Fig: – Launch Wizard of Any point Studio</center>  

- Click on the launch button after selecting the directory of your workspace. It will then open the any point studio as shown in the figure below.
  
[![Mulesoft Integration](https://www.girikon.com/wp-content/uploads/2019/07/image2-1.png)](https://www.girikon.com/wp-content/uploads/2019/07/image2-1.png)<center>Fig: – Any point Studio</center>  

- Open the example project in Any point Studio from Any point Exchange by logging into your MuleSoft account. 
- Download Import Contacts into Salesforce application. Note: do not run the application. 
- Login to your Salesforce account. 
- In the left navigation bar, open My Settings under the Personal Setup heading, click to expand the My Personal Information. 
- Click Reset My Security Token. Salesforce resets the token and emails. 
- Open your mail account where the security token is sent and copy the token onto your local clipboard.
- Now open your Any point Studio after downloading and opening the application it will look like as shown in the given fig.
[![Mulesoft Integration](https://www.girikon.com/wp-content/uploads/2019/07/image3-1.png)](https://www.girikon.com/wp-content/uploads/2019/07/image3-1.png)<center>Fig: – Any point Studio with application</center>  

- In your application in Studio, click the Global Elements tab. Double-click the Salesforce SFDC config global element to open its Global Element Properties panel. 
- In the Security Token field, paste the Salesforce token that you copied from your mail. 
- Alternatively, configure the global element in the XML Editor. 
- Change the contents of the Username and Password fields to your account-specific values, then click OK to save your changes. 
- This application project includes a sample CSV file, contacts.csv, that you can use to view the end-to-end functionality of this application. The CSV file will look like this.
[![Mulesoft Integration](https://www.girikon.com/wp-content/uploads/2019/07/image5-1.png)](https://www.girikon.com/wp-content/uploads/2019/07/image5-1.png)<center>Fig: – contacts.csv</center>  

In the Package Explorer, click the src/main/resources folder to expand it, then find the contacts.csv file inside this folder. Double-click the File config tab in the Global Elements tab and set the Working Directory field to point to the src/main/resources folder. In the Package Explorer, right-click the import-contacts-into-salesforce project, then select Run As > Mule Application. 

Studio runs the application on the embedded server. After the application runs successfully it will create two contacts records in salesforce which the csv file contains. Open your salesforce account, then navigate to the Contacts tab. It will show you two new entries: John Doe and Jane Doe.

  
[![Mulesoft Integration](https://www.girikon.com/wp-content/uploads/2019/07/image4-1.png)](https://www.girikon.com/wp-content/uploads/2019/07/image4-1.png)<center>Fig: – Two new contacts created</center>



The post [How to Integrate Salesforce with MuleSoft](https://www.girikon.com/blog/salesforce-mulesoft-integration/) appeared first on [Salesforce Consulting Company, global offices in USA, Australia](https://www.girikon.com/).