Our Blog

Magento2 Salesforce Connector

Magento2 Salesforce Connector

Magento 2 Salesforce Integration

This module is best known for integrating a Magento 2 Salesforce Integration with an e-Commerce platform to the Salesforce CRM platform. In addition, provides real-time synchronization for the Magento store to the Salesforce end. With the help of this module, admins can easily sync Categories, Products, Customers, Orders, and Contact Us (Leads) to Salesforce Org which will help them to track their sales and improve customer services effectively.

Note: Application (Magento 2 Salesforce Integration) required to install in Salesforce Org from AppExchnage eShopSync For Magento.

Book your Demo: eShopSync For Magento | Buy Now



  • Acts as a bridge between Magento and Salesforce.
  • It gives the concept of a “Service-First” approach.
  • Guest User Concept to store Guest checkout details.
  • Connect to the Salesforce account using REST oAuth2.
  • Can process the bulk amount of data from Magento to Salesforce.
  • The synchronization process will run in the background when you export the records.
  • Sync all product types as Simple, Grouped, Configurable, Bundle, Virtual, and Downloadable.
  • Real-Time synchronization for Contact Us as Leads, Customers, Categories, Products, and Orders.
  • Sync Magneto Orders to Salesforce Orders with Shipment and Tax details.
  • Sync Magento Categories and Products to Salesforce as Custom Categories and Products respectively.
  • Users can synchronize customers into an Existing Salesforce Account, or create a new corresponding account.
  • Sync Magento Contact us as Leads and Customers as Accounts and Contacts to Salesforce.
  • Admin can select the default folder to store images of Categories and Products at the Salesforce end.
  • Admin can select default price book for product pricing based on selected Price book.

Note: The specific customizations of real-time data synchronization can be implemented bi-directionally. This would be a paid feature. To enable the bi-directional feature, kindly connect with our Salesforce support team.

Minimum Requirements:

  • Magento 2.x
  • The minimum requirement for installation is PHP 7.1

How to Configure:

Pre-Configuration settings:

Once you install eShopSync For Magento from AppExchange. Go through the links mentioned below to update the required settings.
Update Field Accessibility: Salesforce Field Accessibility If you want to avail Salesforce Lightning experience, you need to register your domain first.

Magento 2 Salesforce Connector Installation & Setup:

  • Extract the downloaded connector zip file into your system location. It will consist SRC folder & APP  as Sub-folder.
  • Connect Magento Back end through FTP details. Open the root folder location where the Magento setup is installed.
  • Browse to the system location where you have extracted the connector folder located as shown below. Go to SRC | APP | Select App folder then Upload to Magento Root Folder as shown below.


  • Open Terminal/Command Console then run the following commands on the Magento 2 root directory to reflect changes:
    • To update:  php bin/magento setup: upgrade


  • In the same way, run the rest commands mentioned below:
    • To compile: php bin/magento setup:di:compile 
    • To deploy: php bin/magento setup:static-content:deploy 
    • To clear cache: php bin/magento cache:clean

This completes the installation of the Salesforce Magento connector. Now, you need to configure the required changes at the Salesforce end and then establish a connection between these platforms.


    • Login to the concerned Salesforce Org to update the required changes and make sure that you have installed eShopSync For Magento.
  • Go to Setup |Quick Find search for the Installed package, then Click on eShopsync for Magento (Magento 2 Salesforce Integration).

Installed-Packages-Salesforce magento 2

  • Log in to the Magento Admin panel, and go to Stores | Configuration | Salesforce Connector to establish a connection with proper settings.

  • Fill in all the details as described in the screenshot below:

#salesforce #salesforceohana #salesforcepartner #salesforcecertified #salesforcegoldpartner #salesforcecommunity

  • It will ask you to log in to your Salesforce Org. Login with credentials to proceed.
  • Once the connection would establish, the User would able to see the Configuration data section

License Key Configuration-Settings-Stores-Magento-Admin

  • After entering the license key you have to validate it then it shows the text that its validated as shown in the screenshot below.

License key validated Configuration-Settings-Stores-Magento-Admin


Customer settingsSettings




Reset mapping


Field Mapping for Magento 2 Salesforce Integration

Account Field Mapping:AccountMapping



Product Field Mapping:




Order Field Mapping:


OrderFieldMappingNow, proceed to test the synchronization process as we are done with connector installation & configuration.


Bi-directional Synchronization

Sync data from Salesforce to Magento 2 by implementing the process mentioned below:-

  • Log in to your Salesforce Org and Magento 2 account.
  • Then in Salesforce Org, click on the App Launcher then select View all
  • Now click on the Magento 2 Salesforce Integration (eShopSync For Magento)

App launcher to open-Salesforce Magento 2 connector

  • In Salesforce Magento 2 connector, go to the Configuration tab.
  • Click on the New button to create a new configuration of the Magento Site.
    • Mention the name of your Magento site
    • Then mention the URL of the site
    • The Consumer Key, Consumer Secret, Access Token, and Access Token Secret
    • After entering all the information click on the Save button.

New Configuration of New Magento 2 site in Salesforce

  • For the consumer key & secret and Access token & secret, you have to go to the Magento 2 Admin Dashboard
  • Click on the System option from the left navigation panel. Further, click on Integrations.
  • Click on Add New Integration button.

Add new Integrations in Magento 2 for Salesforce magento 2 connector

  • Then a form opens up fill in all the required details, enter your Magento 2 password and then click on the Save button.
  • After this, you get the consumer key & secret and Access token & secret
  • Copy these details and paste them into the Salesforce New Configuration window.

consumer key & secret and Access token & secret from Magento 2 for bi-directional sync

  • Then in the API tab Select All for the Resource Access option to select all the resources.

Save API configuration in Magento 2 for integration

  • Now the new site configuration will be shown like this

Site Configurations in Salesforce Magento 2

  • You can easily edit or delete the site and some other things.

Quick Actions and Row actins of Salesforce Magento 2

  • To get a better view, click on display as split view

Display as split screen in Salesforce Magento 2 connector

  • In this, you can easily see the site, data of the site, and the stores added to the site on a single screen. This is the best view utilization.

split view of Salesforce Magento 2 connector

eShopSync Magento Configuration For Bi-directional Synchronization

eShopSync Batch Syncing

You can schedule batch synchronization specifically on objects using a particular field. So the batch sync will run on that object whenever scheduled.

batch sync in bi-directional in eShopSync-Magento-Configuration-Salesforce

You can check the batch synchronization that you have scheduled in Apex jobs. Also, how many are completed and

  • For this go to Setup in Salesforce >> Quick search >> Apex jobs
  • Then the list will be visible to you.

Apex jobs from quick search to check batch sync

eShopSync Logs

You can also schedule to delete logs after a number of days as per your requirements. whatever you choose, delete all the logs before the days from the present day. If you have not chosen the number of days then by default it is set to 7 days.

eShopSync Logs Magento 2 Salesforce connector

We have also provided the eShopSync Logs view so that you can easily get to know what is the reason behind the record which was not synced. This way you can fix it and sync that particular record.

Logs view Magento 2 Salesforce connector

Whenever you create a product, order, category, or customer then it automatically syncs at the Magento 2 end and creates the record for the same.

In the case of the creating Customer at Magento 2 end,

  • If you have a Salesforce person account then account sync as a customer at the Magento 2 end.
  • If you have a Salesforce business account then contact sync as a customer at Magento 2 end.

For example, I have created the Product at the Salesforce end and Saved it. using bi-directional sync it automatically syncs at Magento 2 end.

View of product created at Salesforce end

Product creation at-Salesforce end for bidirectional sync

View of product syncs using the bi-directional feature at Magento 2 end

Product- bi-directional-Synchronization-Magento-end

Synchronization Process

  • Sync Categories: Go to Salesforce Connector | Categories
    • Click on Export All Categories to export all existing categories to the Salesforce end.

Sync categories Magento 2 Salesforce Integration


sync products Magento 2 Salesforce Integration

  • Sync Products: Click Salesforce Connector | Products
    • Click on Export All Products to export all existing Products at the Salesforce end.

Productmapping 0 Magento 2 Salesforce Integration

Product mapping Magento 2 Salesforce Integration


  • Sync Customers: Click Salesforce Connector | Accounts
    • Click on Synchronize All Customers and Address to export all existing customers at the Salesforce end.

AccountMapping Magento 2 Salesforce Integration


accountmapping Magento 2 Salesforce Integration


  • Sync Orders:  Click Salesforce Connector OrdersClick on Synchronize Orders to export all existing Orders at the Salesforce end.

ordermapping Magento 2 Salesforce Integration


magentoorder Magento 2 Salesforce Integration



  • Sync Contact Us (Leads): Click Salesforce Connector | Sync Contact Us (Leads).
    • All Contact Us responses will get the list down in this section if you have enabled the Real-Time Sync option.

salesforceleadmapping Magento 2 Salesforce Integration



Frequently Asked Questions:

Question: What is the best way to test the purchased connector file?

Answer: Data integrity is the main area of concern, we would recommend installing and testing the connector sync features in the Development site first by establishing the connection with Salesforce Sandbox. Upon successful testing, you may proceed to install the connector in the Live site and Salesforce Production environment.

Question: What are the benefits of purchasing the connector along with Installation fees?

Answer: Purchasing a connector along with Installation fees bring you into a comfort zone where you just need to share the required details to initiate the installation process. Our concerned team will effectively proceed with the installation process as soon we get complete details and will get installed in 1-2 Working days.

Your trust and satisfaction are highly important to us and so your data will be completely secured.

Question: What will be covered under Installation fees?

Answer: We will install and set up Connector at the Magento end and get things ready to go situation for you. Installation of eShopSync For Magneto as well, in case it is not installed at the Salesforce end.

We will sync a test record on each object to make sure that synchronization is working fine. Further, you may proceed with synchronization on your own.

Question: What are the required details mandatory to share for the Installation procedure?

Answer: You must need to share the following details to proceed with the installation and setup of the connector:

  • Would be preferable to install it in the Development site first in connection with Salesforce Sandbox, so create a Dev site and share the details accordingly.
  • Magento Admin URL of the concerned site with login credentials.
  • Salesforce login credentials
  • SFTP/FTP Details such as Host Name, Port, User, and Password.

NOTE: Mandatory to share SFTP/FTP details and all of the concerned sites such as Host Name, Port, User, and Password if we experience any issue while connector installation due to any plugin conflict.

Question: What are the conditions to pay Installation fees?

Answer: If you are stuck and having trouble while proceeding with configuration then you need to pay Installation fees along with the required details to install and set up the connector properly.

To pay the Installation fees: Click Here

NOTE: We have already provided helpful links and video tutorials to install and set up the connector.

Question: When you can avail benefits of free support?

Answer: Free support comes into the picture once the connector installation and configuration are done properly. If there is any issue while connector installation then it will fall under the Installation process and resolve as per the Installation procedure.

In case, you have not paid the installation fees and want support to install and configure the connector then you need to pay the installation fees and must share the required details to initiate the Connector installation procedure.

Question: What will be covered under the Free 3 months of support availed with connector purchase?

Answer: Post successful connector installation and configuration, if you are experiencing any issue while data synchronization that would fall under free support.

You may find steps to resolve the issue under the Frequently Asked Questions section as per the error received. Else, you may create a ticket on the link mentioned under the Support section with steps to reproduce and provide all required login details.

Question: What are the details mandatory to be shared to debug the issue?

Answer: You must need to share the following details to investigate the issue:

  • Magento Admin URL of the concerned site with login credentials.
  • SFTP/FTP Details such as Host Name, Port, Username, and Password.
  • Salesforce login credentials. Or, you may grant login access for Salesforce as well: How to Grant Login Access

NOTE: Mandatory to share SFTP/FTP details and all of the concerned sites such as Host Name, Port, User, and Password if required while investigating.

Question: What if you can’t share SFTP/FTP details or Login credentials of Magento and Salesforce due to privacy/security concerns?

Answer: Your data is highly secured with us and it is mandatory to share SFTP/FTP details and login credentials of Magento and Salesforce while investigating any issue. Without having complete details, we can’t proceed any further.

Question: Can you provide support on screen sharing sessions via any medium like Team Viewer/ GoToMeeting/ etc?

Answer: No, we don’t provide any support on any of the screen-sharing sessions like Team Viewer/GoToMeeting/etc. Hence, it is mandatory to share complete details to provide seamless support.

Question: What if you can’t share asked details on the support ticket to debug the issue and want a full refund?

Answer: In this case, the refund would be processed as per the Refund Policy: Check Refund Policy Here

Questions: What are the other options to get support if you have privacy concerns sharing Live Site details?

Answer: You need to provide a development environment (complete replica of the Live site) with the following details:

  • Steps to reproduce
  • Login credentials
  • SFTP/FTP details such as Host Name, Port, User, and Password

We will debug the issue and provide a proper resolution on the Development site. Upon successful testing, you can also implement it on the Live site.



Read More: Salesforce Marketing Cloud Magento2 Connector Installation and Setup

Leave a Comment

Comments (0)

Please verify that you are not a robot.

Tell us about Your Company

How can we help you with your business?