Search Results :

×

Magento Salesforce Integration | Two-way sync of Salesforce Contacts, Leads, and Users with Magento Customers.

Magento Salesforce Integration extension synchronizes Magento Customers with Contacts, Leads and Users in Salesforce and vice versa.
Here we will go through a guide to configure Magento - Salesforce Bi-directional Contacts, Leads and Users Sync.
Click here to read more about the Magento Salesforce Integration extensions extra features.

  • Purchase the miniOrange Magento Salesforce Integration extension from Magento Marketplace (Adobe Commerce Marketplace).
  • Go to My profile -> My Purchases
  • Please ensure you are using correct access keys (My Profile - Access Keys)
  • Paste the access keys in your auth.json file inside your project
  • Use the below command to add the extension to your project.
    "composer require {module_name}:{version}"
  • You can see the module name and list of versions in the selector below the extension module name.
  • Run the following commands on command prompt to enable the extension.
  • php bin/magento setup:upgrade

  • Go to Salesforce login page and login as an Administrator.
  • You will be represented with the home screen of Salesforce.
Magento Salesforce Integration Bi-directional Sync - Home Screen

  • Navigate to the Setup tab.
Magento Salesforce Integration Bi-directional Sync - setup tab


  • Under the PLATFORM TOOLS section, navigate to the Apps in the left menu.
  • Select the App Manager option.
Magento Salesforce Integration Bi-directional Sync - AppManager

  • In the same window, head to the top right corner and select the Create External Client App to create a new Client Application.
Magento Salesforce Integration Bi-directional Sync - NewApp

  • Enter the External Client App Name and Contact Email as shown below:
  • Check the Enable OAuth checkbox under API (Enable OAuth Settings).
Magento Salesforce Integration Bi-directional Sync - OSuth Setting

Connected App Name Enter any name of your choice.
NOTE: The Connected App Name can only contain underscores and alphanumeric characters. It must be unique, begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores.
API Name Enter any name of your choice. By default it just copies the Connected App Name.
NOTE: The API Name can only contain underscores and alphanumeric characters. It must be unique, begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores.
Callback URL You will get this Callback URL from the Salesforce Integrations tab of Salesforce Integration extension in Magento
NOTE: Make sure that URL must be present in https:// format.
Contact Email Enter any email of your choice.
Available OAuth Scopes Select Manage user data via APIs (api) and Perform requests on your behalf at any time (refresh_token, offline_access) options.
  • For the callback URL, you can navigate to the extension’s Salesforce Configuration tab and can copy the Redirect URI as shown below.
Magento Salesforce Integration Bi-directional Sync - Salesforce manual callback url

  • Select the Manage user data via APIs (api) and Perform requests at any time (refresh_token, offline_access) scopes from the Available OAuth scopes as shown below.
Configure Salesforce for Object sync - Callback URL

  • Under the Security section, make sure to disable the Require Proof Key for Code Exchange (PKCE) extension for Supported Authorization Flows checkbox. Refer to the image below:
Magento Salesforce Integration Bi-directional Sync - Require Proof Key

  • Save this app.
  • You can access the Consumer Key and Secret under Settings -> OAuth Settings by clicking on the Consumer Key and Secret button as shown below:
Magento Salesforce Integration Bi-directional Sync - Consumer Key

  • You might get a 2FA prompt depending on the login policies, enter the OTP or 2FA prompt if asked, to get Consumer Key and Consumer Secret which are necessary to enable a connection between Salesforce and Magento.

Only for Manual Application Type

  • Navigate to the extension and Under the tab Salesforce Configurations, paste the Consumer Key (Client ID) and Consumer Secret(Client Secret) from the Salesforce App.
Salesforce Domain (URL) Salesforce Domain URL
Client ID Paste the Consumer Key from Salesforce App
Client Secret Paste the Consumer Secret from Salesforce App
OAuth Grant Type Authorization Code
OAuth Scope api refresh_token
  • Click on the Test Configuration button. You will be prompted to enter your salesforce credentials, once entered, you will be asked for certain permissions, please click on Allow to connect to Salesforce. Click on Close to continue.
Magento Salesforce Integration Bi-directional Sync - Manageapp

  • Navigate to User Sync tab.
  • Select the Salesforce user type you want to sync with Magento’s customers.
  • Magento Salesforce Integration Bi-directional Sync - Attribute mapping
  • Select the direction in which you want to sync the users i.e. from Magento to Salesforce or Salesforce to Magento.
  • Magento Salesforce Integration Bi-directional Sync - bi-directional sync
  • Map the salesforce attributes with Email, First Name and Last Name attributes as these are the mandatory attributes.
  • Magento Salesforce Integration Bi-directional Sync - Map attributes
  • Choose the Magento field: Select the desired Magento attribute from the first dropdown menu
  • Magento Salesforce Integration Bi-directional Sync - Map attributes
  • Choose the corresponding Salesforce field: Select the matching Salesforce attribute from the second dropdown menu
  • Add the mapping: Click the orange plus (+) button to create the connection between these two attributes
  • Save your configuration: Click the save button to apply and store these mapping settings
  • If you want to sync Leads from Magento to Salesforce, Company attribute of Salesforce is mandatory to be mapped with any of Magento's Customer attributes.
  • Select Magento customer group which you want to assign to Magento customers at the time of sync.
  • Save the configurations.

Please reach out to us at magentosupport@xecurify.com, and our team will assist you with setting up the Magento Salesforce Integration Extension. Our team will help you to select the best suitable solution/plan as per your requirement.

ADFS_sso ×
Hello there!

Need Help? We are right here!

support