Quantcast
Channel: AEM Guide
Viewing all articles
Browse latest Browse all 162

Integrating Salesforce with AEM

$
0
0
Adobe AEM provide its extendable capabilities to integrate  with other products. Below demonstration describe how to connect Adobe AEM with Salesforce which is the market’s leading cloud based CRM System. AEM provide OOTB components for the integration purpose. It helps the organization to target the customers through web channels as per their status in CRM. 
Steps to Connect to Salesforce : 
1)  AEM uses OAuth mechanism to connect to Salesforce. So , we first need to create an app inside salesforce to get customer secret and access token

Login to salesforce. Go to Setup ->Apps section and create new app. Fill in required details as shown in below images. Callback Url here accept only https urls, so our AEM must be SSL configured. Callback url is the url of cloud service that we will create in AEM 


2)  On save, it provides you customer key/customer secret which we can use at AEM side to connect with salesforce

3)    Create the salesforce cloud service, Dialog will appear which will ask to enter the key/secret. Fill in value you got from step 2 & click Connect to Salesforce.

4)  CQ5 sends REST call to salesforce & if salesforce authorizes it, you will be able to view below image. Click allow.
5)   We can test the connection by transfer the data from AEM to Sales force.  Here we will export the AEM users as salesforce leads. We can check the user properties in AEM by going through profile node of user.

6)  AEM provide the OOTB Workflow for this activity. We just need to add the salesforce configuration that we added in previous steps.


7)    Start the workflow, Select the profile node as payload as it contains the properties which will be map as lead’s properties in salesforce.

8)   After successful completion you can view your lead in Salesforce.com

Troubleshooting Tips : 
1)      AEM Instance must be SSL enabled. 
2)      Salesforcetake 5-10 min to enable the app after creation, so connect AEM with Salesfore after that. 
3)      Callback URL should be fully qualified path of your configuration page with extension. 
4)      Before starting the workflow, make sure you have tagged your salesforce configuration inside it.

Viewing all articles
Browse latest Browse all 162

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>