How to Integrate Magento With Amazon

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.

Prerequisites

  1. You need a Magento Commerce account to install the Amazon Sales Channel extension.
  2. You’ll also need the Amazon Sales Channel API key to connect the service to your Magento store.
  3. It’s best to backup your server to avoid data loss in case of installation failure.
  4. Set pre-installation file permissions.
  5. Enable developer mode using the following command:
    php bin/magento deploy:mode:set developer

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.

How to Integrate Magento With Amazon

Install Amazon Sales Channel

  1. Log into your Magento Commerce account and “buy” the Amazon Sales Channel extension for free by adding it to your cart and checking out.
  2. Go to My Accounts > My Purchases and click Technical Details for the Amazon module. Note the component name and version.

    Amazon Sales Channel extension
    Click Technical details and note the component name and version
  3. Log in to your Magento server as the file system owner and navigate to the Magento root directory.
  4. Check if the repo.magento.com repository exists in your composer.json file:
    "repositories": [
    {
    "type": "composer",
    "url": "https://repo.magento.com/"
    }
    ]
  5. 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”.

  6. 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.
    Access Keys in Magento Marketplace
    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.

  7. 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.

  8. 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
  9. Clean and flush the Magento cache by running the following command:
    bin/magento cache:clean
    bin/magento cache:flush
  10. Disable maintenance mode by using the following command:
    bin/magento maintenance:disable
  11. After the installation is complete, add your Amazon Sales Channel API key.

Configure Amazon Sales Channel

You can now start using the extension on the backend. You can also modify extension settings by following these steps:

  1. Log in to the Magento admin panel and navigate to Stores > Settings > Configuration.

    Configuration in the sidebar
  2. Expand Sales Channels on the left panel and click Global Settings.

    Sales Channel Settings
    Click Global Settings, select option from Clear Log History dropdown, and click Save Config
  3. In the “Clear Log History” dropdown, select either Once Daily, Once Weekly, or the default Once Monthly.
  4. Click Save Config on the top right corner.

That’s it! You’ve successfully integrated Magento with Amazon.

Was this article helpful?

Leave a Comment