Add or verify the Amazon API key
When accessing Amazon sales channel, Commerce automatically checks and validates the Amazon API key you have added in your store configuration. If validated, then you can move on to the next step, Store Integration.
If the Amazon API key is missing, invalid, or expired, you must update your key. A message appears prompting you to get an API key and to add they key to your Amazon sales channel configuration.
Get and add the Amazon API key as prompted
The API key is validated each time you access your Amazon sales channel.
-
Log in to the Commerce Admin.
-
On the Admin sidebar, go to Marketing > Channels > Amazon Sales Channel.
If it is your first time accessing Amazon sales channel or if your API key requires updating, the system prompts you through the process.
img-md w-500 -
Click Sign in to access your Commerce web account.
The Commerce accounts page opens in a new browser tab.
-
If you are logged into your Commerce account, the API Portal section of the My Account page appears automatically.
-
If you are not logged in, you are prompted to enter your Commerce account username and password before the API Portal tab appears.
-
If you do not have an account, visit the Commerce account page and register. This account should be part of your company or business.
-
-
If needed, you can view and generate API keys on the API Portal tab in your Commerce account.
To create an API key, enter a description like
Amazon Sales Channel
and click Add New. The new key is generated and shown with the name that you entered. Click Copy to copy the new key.img-md w-500 modal-image -
With the new key generated and copied, return to the Amazon Sales Channel tab in the browser.
-
On the Welcome to Amazon Sales Channel page, click Add the key.
The browser exits Amazon sales channel and a store configuration page opens the Api Keys page in the Commerce Admin. You can open this page manually when you go to Stores > Settings > Configuration, expand Services in the left panel, and choose Magento Services.
-
Paste the copied key for Production Api key.
-
Click Save Config. You can now return to Amazon sales channel.
img-md w-600 modal-image -
On the Admin sidebar, go to Marketing > Channels > Amazon Sales Channel.
Reaccessing Amazon sales channel triggers Commerce verify and validate your API key and allows you to continue.
If you are prompted to verify the key again, repeat this Add and Verify process.