<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	 xmlns:media="http://search.yahoo.com/mrss/" >

<channel>
	<title>Connected App Archives | Ad Victoriam Solutions</title>
	<atom:link href="https://www.advictoriamsolutions.com/blog/tag/connected-app/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>Salesforce Consulting Implemetation &#38; Integration &#124; Platinum Partner</description>
	<lastBuildDate>Tue, 04 Jan 2022 14:50:08 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.3</generator>

<image>
	<url>https://www.advictoriamsolutions.com/wp-content/uploads/2018/05/favicon.png</url>
	<title>Connected App Archives | Ad Victoriam Solutions</title>
	<link></link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Set Up Your Salesforce Org for Integration with MuleSoft</title>
		<link>https://www.advictoriamsolutions.com/blog/set-up-your-salesforce-org-for-integration-with-mulesoft/</link>
		
		<dc:creator><![CDATA[Ad Victoriam Solutions]]></dc:creator>
		<pubDate>Tue, 04 Jan 2022 14:50:05 +0000</pubDate>
				<category><![CDATA[MuleSoft]]></category>
		<category><![CDATA[Ad Victoriam Solutions]]></category>
		<category><![CDATA[AdVic]]></category>
		<category><![CDATA[Connected App]]></category>
		<category><![CDATA[Salesforce]]></category>
		<category><![CDATA[Salesforce Org]]></category>
		<guid isPermaLink="false">https://www.advictoriamsolutions.com/?p=18299</guid>

					<description><![CDATA[<p>When setting up your Salesforce Org for an effective and efficient integration with MuleSoft, there are a few integration tools that will be helpful in your integration journey.&#160; In this article, we will be going over how to set up a Connected App with MuleSoft, and two ways to send messages regarding data changes from [&#8230;]</p>
<p>The post <a href="https://www.advictoriamsolutions.com/blog/set-up-your-salesforce-org-for-integration-with-mulesoft/">Set Up Your Salesforce Org for Integration with MuleSoft</a> appeared first on <a href="https://www.advictoriamsolutions.com">Ad Victoriam Solutions</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="yoast-reading-time__wrapper"><span class="yoast-reading-time__icon"><svg aria-hidden="true" focusable="false" data-icon="clock" width="20" height="20" fill="none" stroke="currentColor" style="display:inline-block;vertical-align:-0.1em" role="img" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg></span><span class="yoast-reading-time__spacer" style="display:inline-block;width:1em"></span><span class="yoast-reading-time__descriptive-text">Estimated reading time:  </span><span class="yoast-reading-time__reading-time">7</span><span class="yoast-reading-time__time-unit"> minutes</span></p>


<p><span style="font-weight: 400;">When setting up your Salesforce Org for an effective and efficient integration with </span><a href="https://www.advictoriamsolutions.com/products/mulesoft-anypoint-consulting/"><span style="font-weight: 400;">MuleSoft</span></a><span style="font-weight: 400;">, there are a few integration tools that will be helpful in your </span><a href="https://www.advictoriamsolutions.com/salesforce-integration-partner/"><span style="font-weight: 400;">integration journey</span></a><span style="font-weight: 400;">.&nbsp;</span></p>
<p><span style="font-weight: 400;">In this article, we will be going over how to set up a Connected App with MuleSoft, and two ways to send messages regarding data changes from your Salesforce Org to MuleSoft.&nbsp;</span></p>
<h3><b>Set Up a MuleSoft Connected App</b></h3>
<p><span style="font-weight: 400;">First, let’s begin by setting up the MuleSoft Connected App in your org.&nbsp;</span></p>
<p><span style="font-weight: 400;">From Setup, search </span><i><span style="font-weight: 400;">“</span></i><span style="font-weight: 400;">App Manager”</span> <span style="font-weight: 400;">in the quick find box. This is where you will create a new connected app to host the secure connection between Salesforce® and MuleSoft®</span></p>
<p><img fetchpriority="high" decoding="async" class="aligncenter wp-image-18302 size-large" src="https://www.advictoriamsolutions.com/wp-content/uploads/2021/11/Set-Up-Your-Salesforce-Org-for-Integration-with-MuleSoft1-1024x153.png" alt="Set Up Your Salesforce Org for Integration with MuleSoft" width="1024" height="153"></p>
<p>&nbsp;</p>
<p><span style="font-weight: 400;">The scopes that will allow this kind of access will:&nbsp;</span></p>
<ol>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Provide access to your data via the web.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Allow access to your unique identifier.</span></li>
<li><span style="font-weight: 400;"> Access and manage your data.</span></li>
</ol>
<p><img decoding="async" class="aligncenter wp-image-18303 size-large" src="https://www.advictoriamsolutions.com/wp-content/uploads/2021/11/Set-Up-Your-Salesforce-Org-for-Integration-with-MuleSoft2-1024x260.png" alt="Set Up Your Salesforce Org for Integration with MuleSoft" width="1024" height="260"></p>
<p>&nbsp;</p>
<p><span style="font-weight: 400;">Once the connected app for MuleSoft has been created, you can search </span><i><span style="font-weight: 400;">“</span></i><span style="font-weight: 400;">Manage Connected Apps</span><i><span style="font-weight: 400;">”</span></i><span style="font-weight: 400;"> and find the MuleSoft app there as seen below:</span></p>
<p><img decoding="async" class="aligncenter wp-image-18304 size-large" src="https://www.advictoriamsolutions.com/wp-content/uploads/2021/11/Set-Up-Your-Salesforce-Org-for-Integration-with-MuleSoft3-1024x285.png" alt="Set Up Your Salesforce Org for Integration with MuleSoft" width="1024" height="285"></p>
<p>&nbsp;</p>
<p><span style="font-weight: 400;">When you click “View” on your MuleSoft app in the Manage Connected App page, you will find the “Consumer Key”</span> <span style="font-weight: 400;">and “Consumer Secret,”</span> <span style="font-weight: 400;">which is required for connecting MuleSoft and Salesforce. Like the Integration User’s username and password, this will be in the configuration file in MuleSoft to establish a secure integration.&nbsp;</span></p>
<p><b>Quick Tip: </b><span style="font-weight: 400;">To view the Consumer Secret, you will be asked to click </span><i><span style="font-weight: 400;">“</span></i><span style="font-weight: 400;">Click to Reveal</span><i><span style="font-weight: 400;">” </span></i><span style="font-weight: 400;">as it is a confidential key and crucial in establishing a secure connection.</span></p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-18305 size-large" src="https://www.advictoriamsolutions.com/wp-content/uploads/2021/11/Set-Up-Your-Salesforce-Org-for-Integration-with-MuleSoft4-1024x436.png" alt="Set Up Your Salesforce Org for Integration with MuleSoft" width="1024" height="436"></p>
<p>&nbsp;</p>
<p><span style="font-weight: 400;">With your connected app set up, you are ready to begin the journey of sending messages between MuleSoft and Salesforce.&nbsp;</span></p>
<h3><b>Sending Messages Between MuleSoft and Salesforce</b></h3>
<p><span style="font-weight: 400;">In order to explain this most thoroughly, let’s follow this example:</span></p>
<p><span style="font-weight: 400;">Your Salesforce org would like to have all contacts created or edited in Salesforce to be integrated with your legacy database system via MuleSoft. Each time a contact is created or edited in Salesforce, you need MuleSoft to make those changes in the legacy system as well. There are two ways to set this up inside of Salesforce:&nbsp;</span></p>
<ol>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Platform Events and Process Builders</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">APEX Classes</span></li>
</ol>
<p><span style="font-weight: 400;">We will now go over the benefits and potential pitfalls of each of these.</span></p>
<h4><b>Platform Events and Process Builders</b></h4>
<p><span style="font-weight: 400;">A platform event is a component of the event-driven software architecture of Salesforce and external systems (in our case, MuleSoft). These systems pass messages through platform event messages, which are listened for in MuleSoft. Platform events must have a trigger inside of Salesforce to send that message to MuleSoft. This is where the Process Builder comes in.&nbsp;</span></p>
<p><span style="font-weight: 400;">Create a Process Builder to be triggered each time a Contact is created or edited. This will trigger the process whenever there is activity related to Contacts.</span></p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-18306 size-large" src="https://www.advictoriamsolutions.com/wp-content/uploads/2021/11/Set-Up-Your-Salesforce-Org-for-Integration-with-MuleSoft5-1024x362.png" alt="Set Up Your Salesforce Org for Integration with MuleSoft" width="1024" height="362"></p>
<p>&nbsp;</p>
<p><span style="font-weight: 400;">The Contact is either new or any of the fields are updated, so you should have a branch for each of those options.</span></p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-18307 size-large" src="https://www.advictoriamsolutions.com/wp-content/uploads/2021/11/Set-Up-Your-Salesforce-Org-for-Integration-with-MuleSoft6-1024x308.png" alt="Set Up Your Salesforce Org for Integration with MuleSoft" width="1024" height="308"></p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-18308 size-large" src="https://www.advictoriamsolutions.com/wp-content/uploads/2021/11/Set-Up-Your-Salesforce-Org-for-Integration-with-MuleSoft7-1024x463.png" alt="Set Up Your Salesforce Org for Integration with MuleSoft" width="1024" height="463"></p>
<p>&nbsp;</p>
<p><b>Quick Tip:</b><span style="font-weight: 400;"> Make sure you are listing each of the fields on the object you want to trigger an update in your integrated system. If someone updates a field that is not listed as part of the process builder, the message to update the contact will not be sent to MuleSoft.&nbsp;</span></p>
<p><span style="font-weight: 400;">These two options will go to an immediate action of either New Contact or Update Contact using the sObject (Platform Event) as a Record Type. This will fire the Platform event to send a message to MuleSoft with the Key, Method, and Object Type.</span></p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-18309 size-large" src="https://www.advictoriamsolutions.com/wp-content/uploads/2021/11/Set-Up-Your-Salesforce-Org-for-Integration-with-MuleSoft8-1024x292.png" alt="Set Up Your Salesforce Org for Integration with MuleSoft" width="1024" height="292"></p>
<p>&nbsp;</p>
<p><span style="font-weight: 400;">On MuleSoft’s end, there is a listener that is waiting for one of these Platform Event messages to come across and will fire the appropriate flow in response to the message it receives.&nbsp;</span></p>
<h4><b>APEX Classes</b></h4>
<p><span style="font-weight: 400;">An APEX Class can be configured to be an HTTP callout using the Salesforce REST API we talked about earlier. The HTTP callout will be easier to use, but will still require Salesforce development. An APEX Class is created in the Developer console and is written to receive the request from Salesforce regarding the change in data and send that message to a listener in MuleSoft, similar to the way the first option works. We highly recommend using Platform Events and Process Builders because they require significantly less Salesforce development time and are easier to maintain in the long run.&nbsp;</span></p>
<p><span style="font-weight: 400;">In addition, APEX Classes are only a good option for a limited number of profiles. The caveat of using APEX Classes is that each user must have permission to use the class. If you are using APEX Classes, this permission can be added in the profile permissions as seen below.</span></p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-18310 size-large" src="https://www.advictoriamsolutions.com/wp-content/uploads/2021/11/Set-Up-Your-Salesforce-Org-for-Integration-with-MuleSoft9-1024x457.png" alt="Set Up Your Salesforce Org for Integration with MuleSoft" width="1024" height="457"></p>
<p>&nbsp;</p>
<p><span style="font-weight: 400;">Once you click edit on the APEX Class Access page, you will be brought to the screen below, where you can change the selected Classes that the profile has permission to use. In order to trigger the APEX Class, the user must have a profile with access to the APEX Class. </span></p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-18311 size-full" src="https://www.advictoriamsolutions.com/wp-content/uploads/2021/11/Set-Up-Your-Salesforce-Org-for-Integration-with-MuleSoft10.png" alt="Set Up Your Salesforce Org for Integration with MuleSoft" width="824" height="485"></p>
<h3></h3>
<h3><b>Summary</b></h3>
<p><span style="font-weight: 400;">Connected Apps, Platform Events and APEX code allow for efficient communication between Salesforce and MuleSoft. Connected Apps allow Salesforce to recognize the connection to MuleSoft. Platform Events or APEX code allow for communication to MuleSoft. This explicit process for setting up communication with your integration platform will allow for a manageable integration with MuleSoft. Following this article will allow you to fast track your integration setup. These steps will ensure that you have the foundation of your integration and the communication between MuleSoft and Salesofrce configured. With an effective integration foundation, you will be set up for a successful integration.</span></p>
<p><i><span style="font-weight: 400;">Ad Victoriam’s certified, experienced and passionate MuleSoft consultants team up with businesses to turn legacy point-to-point integrations into a scalable architecture that your business can grow with. </span></i><a href="https://www.advictoriamsolutions.com/contact-us/"><i><span style="font-weight: 400;">How can we help your business today</span></i></a><i><span style="font-weight: 400;">?</span></i></p>
<p><b>Related Resources:</b></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><a href="https://www.advictoriamsolutions.com/blog/what-can-mulesoft-do-for-your-salesforce-org/"><span style="font-weight: 400;">What Can MuleSoft Do for Your Salesforce Org?</span></a></li>
<li style="font-weight: 400;" aria-level="1"><a href="https://www.advictoriamsolutions.com/blog/create-better-integrations-with-mulesoft-flow-designer/"><span style="font-weight: 400;">Create Better Integrations with MuleSoft Flow Designer</span></a></li>
<li aria-level="1"><a href="https://www.advictoriamsolutions.com/blog/podcast-mulesoft-composers-ease-of-use-reduces-the-need-for-it/"><span style="font-weight: 400;">MuleSoft Composer’s Ease of Use Reduces the Need for IT</span></a></li>
</ul>
<p><a title="Subscribe to my feed" href="http://feeds.feedburner.com/AdVictoriamSolutionsBlog" rel="alternate" type="application/rss+xml"><img decoding="async" style="border: 0;" src="//feedburner.google.com/fb/images/pub/feed-icon32x32.png" alt=""></a><a title="Subscribe to my feed" href="http://feeds.feedburner.com/AdVictoriamSolutionsBlog" target="_blank" rel="alternate noopener noreferrer" type="application/rss+xml">Follow in a Reader</a></p><p>The post <a href="https://www.advictoriamsolutions.com/blog/set-up-your-salesforce-org-for-integration-with-mulesoft/">Set Up Your Salesforce Org for Integration with MuleSoft</a> appeared first on <a href="https://www.advictoriamsolutions.com">Ad Victoriam Solutions</a>.</p>
]]></content:encoded>
					
		
		
		
		<media:thumbnail url="https://www.advictoriamsolutions.com/wp-content/uploads/2021/11/Set-Up-Your-Salesforce-Org-for-Integration-with-MuleSoft1-150x150.png" />
		<media:content url="https://www.advictoriamsolutions.com/wp-content/uploads/2021/11/Set-Up-Your-Salesforce-Org-for-Integration-with-MuleSoft1.png" medium="image">
			<media:title type="html">Set Up Your Salesforce Org for Integration with MuleSoft1</media:title>
			<media:thumbnail url="https://www.advictoriamsolutions.com/wp-content/uploads/2021/11/Set-Up-Your-Salesforce-Org-for-Integration-with-MuleSoft1-150x150.png" />
		</media:content>
		<media:content url="https://www.advictoriamsolutions.com/wp-content/uploads/2021/11/Set-Up-Your-Salesforce-Org-for-Integration-with-MuleSoft2.png" medium="image">
			<media:title type="html">Set Up Your Salesforce Org for Integration with MuleSoft2</media:title>
			<media:thumbnail url="https://www.advictoriamsolutions.com/wp-content/uploads/2021/11/Set-Up-Your-Salesforce-Org-for-Integration-with-MuleSoft2-150x150.png" />
		</media:content>
		<media:content url="https://www.advictoriamsolutions.com/wp-content/uploads/2021/11/Set-Up-Your-Salesforce-Org-for-Integration-with-MuleSoft3.png" medium="image">
			<media:title type="html">Set Up Your Salesforce Org for Integration with MuleSoft3</media:title>
			<media:thumbnail url="https://www.advictoriamsolutions.com/wp-content/uploads/2021/11/Set-Up-Your-Salesforce-Org-for-Integration-with-MuleSoft3-150x150.png" />
		</media:content>
		<media:content url="https://www.advictoriamsolutions.com/wp-content/uploads/2021/11/Set-Up-Your-Salesforce-Org-for-Integration-with-MuleSoft4.png" medium="image">
			<media:title type="html">Set Up Your Salesforce Org for Integration with MuleSoft4</media:title>
			<media:thumbnail url="https://www.advictoriamsolutions.com/wp-content/uploads/2021/11/Set-Up-Your-Salesforce-Org-for-Integration-with-MuleSoft4-150x150.png" />
		</media:content>
		<media:content url="https://www.advictoriamsolutions.com/wp-content/uploads/2021/11/Set-Up-Your-Salesforce-Org-for-Integration-with-MuleSoft5.png" medium="image">
			<media:title type="html">Set Up Your Salesforce Org for Integration with MuleSoft5</media:title>
			<media:thumbnail url="https://www.advictoriamsolutions.com/wp-content/uploads/2021/11/Set-Up-Your-Salesforce-Org-for-Integration-with-MuleSoft5-150x150.png" />
		</media:content>
		<media:content url="https://www.advictoriamsolutions.com/wp-content/uploads/2021/11/Set-Up-Your-Salesforce-Org-for-Integration-with-MuleSoft6.png" medium="image">
			<media:title type="html">Set Up Your Salesforce Org for Integration with MuleSoft6</media:title>
			<media:thumbnail url="https://www.advictoriamsolutions.com/wp-content/uploads/2021/11/Set-Up-Your-Salesforce-Org-for-Integration-with-MuleSoft6-150x150.png" />
		</media:content>
		<media:content url="https://www.advictoriamsolutions.com/wp-content/uploads/2021/11/Set-Up-Your-Salesforce-Org-for-Integration-with-MuleSoft7.png" medium="image">
			<media:title type="html">Set Up Your Salesforce Org for Integration with MuleSoft7</media:title>
			<media:thumbnail url="https://www.advictoriamsolutions.com/wp-content/uploads/2021/11/Set-Up-Your-Salesforce-Org-for-Integration-with-MuleSoft7-150x150.png" />
		</media:content>
		<media:content url="https://www.advictoriamsolutions.com/wp-content/uploads/2021/11/Set-Up-Your-Salesforce-Org-for-Integration-with-MuleSoft8.png" medium="image">
			<media:title type="html">Set Up Your Salesforce Org for Integration with MuleSoft8</media:title>
			<media:thumbnail url="https://www.advictoriamsolutions.com/wp-content/uploads/2021/11/Set-Up-Your-Salesforce-Org-for-Integration-with-MuleSoft8-150x150.png" />
		</media:content>
		<media:content url="https://www.advictoriamsolutions.com/wp-content/uploads/2021/11/Set-Up-Your-Salesforce-Org-for-Integration-with-MuleSoft9.png" medium="image">
			<media:title type="html">Set Up Your Salesforce Org for Integration with MuleSoft9</media:title>
			<media:thumbnail url="https://www.advictoriamsolutions.com/wp-content/uploads/2021/11/Set-Up-Your-Salesforce-Org-for-Integration-with-MuleSoft9-150x150.png" />
		</media:content>
		<media:content url="https://www.advictoriamsolutions.com/wp-content/uploads/2021/11/Set-Up-Your-Salesforce-Org-for-Integration-with-MuleSoft10.png" medium="image">
			<media:title type="html">Set Up Your Salesforce Org for Integration with MuleSoft10</media:title>
			<media:thumbnail url="https://www.advictoriamsolutions.com/wp-content/uploads/2021/11/Set-Up-Your-Salesforce-Org-for-Integration-with-MuleSoft10-150x150.png" />
		</media:content>
		<media:content url="https://www.advictoriamsolutions.com/feedburner.google.com/fb/images/pub/feed-icon32x32.png" medium="image" />
	</item>
	</channel>
</rss>
