You can integrate Magento with Amazon using extensions like Amazon Sales Channel by Adobe Commerce and Amazon Integration by CedCommerce.
The advantage of using the Amazon Sales Channel extension is that it’s free and has many extra features, such as product catalog and inventory synchronization.
This article shows you how to integrate Magento with Amazon using the Amazon Sales Channel extension to manage your Amazon sales and catalog from the admin.
Note: Amazon Sales Channel supports Magento versions 2.3.x and 2.4.x. You should also know that the extension only connects to North America and UK Amazon marketplaces.
Step 1: Prepare the prerequisites
- You need a Magento Commerce account to install the Amazon Sales Channel extension.
- You’ll also need the Amazon Sales Channel API key to connect the service to your Magento store.
- It’s best to back up your server to avoid data loss in case of installation failure.
- Set pre-installation file permissions.
- Enable developer mode using the following command:
php bin/magento deploy:mode:set developer
Step 2: Install Amazon Sales Channel
- Log into your Magento Commerce account and “buy” the Amazon Sales Channel extension for free by adding it to your cart and checking out.
- Go to My Accounts > My Purchases and click Technical Details for the Amazon module. Note the component name and version.
Click Technical details and note the component name and version - Log in to your Magento server as the file system owner and navigate to the Magento root directory.
- Check if the repo.magento.com repository exists in your composer.json file:
"repositories": [ { "type": "composer", "url": "https://repo.magento.com/" } ]
- Run the following command to update the composer.json file:
composer require magento/module-amazon:4.4.3
The component name is “magento/module-amazon” and the version is “4.4.3”.
- Insert your Magento authentication keys which you can find at My Products > Access Keys, after logging into the Magento Commerce account. If there’s no key available, you can create a new key by clicking on Create a New Access Key.
Copy and paste the Private key and Public key into the terminal The Public Key is your username, and the Private key is the password.
The composer will now update Magento project dependencies. In case of any errors, address them, and rerun the above command. - Verify if the Amazon Sales Channel extension is installed correctly by entering the following command:
bin/magento module:status
This command outputs all the enabled and disabled modules on your Magento store. Scroll through the list of enabled modules and verify the Amazon Sales Channel module is listed there.
- Register the extension, recompile code, and redeploy static view files by using the following command:
bin/magento setup:upgrade bin/magento setup:di:compile bin/magento setup:static-content:deploy
- Clean and flush the Magento cache by running the following command:
bin/magento cache:clean bin/magento cache:flush
- Disable maintenance mode by using the following command:
bin/magento maintenance:disable
- After the installation is complete, add your Amazon Sales Channel API key.
Step 3: Configure Amazon Sales Channel
You can now start using the extension on the backend. You can also modify extension settings by following these steps:
- Log in to the Magento admin panel and navigate to Stores > Settings > Configuration.
- Expand Sales Channels on the left panel and click Global Settings.
Click Global Settings, choose an option in the Clear Log History dropdown, then click Save Config - In the “Clear Log History” dropdown, select either Once Daily, Once Weekly, or the default Once Monthly.
- Click Save Config in the top right corner.
That’s it! You’ve successfully integrated Magento with Amazon.