x
L o g i c M o u n t

How to Set Up Salesforce Data Cloud to Integrate With MuleSoft

Integrating Salesforce Data Cloud with MuleSoft can make your data management and connectivity much smoother. In this guide, we’ll show you the necessary steps to set up your Data Cloud settings and get the credentials you need for MuleSoft integration. We’ll walk you through creating a Connected App, setting up an Ingestion API, and configuring a Data Stream in Salesforce.

Step 1: Create a Connected App

To get started, log in to Salesforce and head over to the Setup page. You can find it by clicking on the gear icon at the top-right corner of the screen, right next to your profile picture. In the search box, type “App Manager” and select it from the results.

Once you’re on the App Manager page, simply click the “New Connected App” button. Fill in all the necessary details, like the app name and your email. Don’t forget to enable the OAuth settings by checking the box, and configure them according to your needs. Once you’re done, scroll down and hit “Save and Continue.”

Now, you’ll be taken to the Connected App detail page. Here, click on “Manage Consumer Details.” Make sure to copy the Consumer Key and Consumer Secret, as you’ll need them later for the MuleSoft integration. After you’ve copied the credentials, feel free to close this window.

Remember, following these steps will help you create a Connected App in Salesforce and get everything ready for the MuleSoft integration.

Step 2: Set Up the Ingestion API

First, go to the Setup page and type “Ingestion API” in the Quick Find box. Click on the search result that pops up. Now, click on “New” to create a brand new Ingestion API. Give it a name and hit “Save.”

The next step is to upload a YAML schema file to this page. Once you’ve uploaded the file, click on “Save.” You’ll notice that the Connector Status will now show as “Needs Data Stream.”

Step 3: Configure Data Stream

Head back to the main Salesforce page and click on Data Cloud in the Apps menu. Once you’re inside Data Cloud, look for the “Data Streams” button in the top menu and give it a click. A new window will pop up, so go ahead and hit “New.”

In the next window, choose “Ingestion API” and click on “Next.” From the dropdown menu, select the Ingestion API you just created. Then, pick the objects you want to include in your data stream. When you’re done, click “Next.”

On the next screen, make sure the default Data Space is selected and hit “Deploy.”

Now, if you go back to the Ingestion API page and refresh, you’ll notice that the Connector Status has changed to “In Use.” This means you’re all set to start creating your Mule application and integrating it with Data Cloud.

Conclusion

By following the steps outlined in this guide, you have successfully set up Salesforce Data Cloud for integration with MuleSoft. This process involved creating a Connected App to enable secure OAuth connections, setting up an Ingestion API to define how data is ingested into Salesforce, and configuring a Data Stream to ensure seamless data flow. With these configurations in place, you are now ready to leverage the combined power of Salesforce Data Cloud and MuleSoft to manage and analyze your data more effectively. This integration will enhance your business processes, enabling better data-driven decision-making and more streamlined operations. 

Admin

Leave a Comment