How to Access Amazon API Credentials – Step-by-Step Guide

Back to All Documentation

In order for AmaLinks Pro to work properly – you need to connect it to the Amazon API using your own private credentials. Don’t worry – this is not difficult and we will guide you with easy-to-follow, step-by-step instructions below…

Are you already connected to the API with another plugin?

If you are currently using another plugin that is successfully connected to the Amazon API – the easiest way to access your credentials is to find them in the settings for the other plugin then copy/paste them over to the settings in AmaLinks Pro.

There are 2 different ways to access or create new API access keys for your Amazon Associates account.

  • Amazon Product Advertising API within your Amazon Associates account
  • Amazon Web Services (AWS)

We’ll cover both of those below in full detail – but first we’ll show you how to insert your keys into the AmaLinks Pro settings once you have them.

How to insert your access keys in AmaLinks Pro

  • In your WordPress menu under AmaLinks Pro > click on Settings
  • Under the Amazon API tab – Paste your Access Key ID and Secret Access Key (separately)

Amazon Access Keys to AmaLinks Pro Settings

Important: Click the Save Changes button (in upper right corner) to Save your credentials.

Test your Amazon API Connection

AFTER you save your credentials – scroll down to the ‘Test Amazon API Connection’ button. Click it.

Test Amazon API Connection

  • If you get a green success message – you’re all set! You can begin using AmaLinks Pro in your Post or Page editors.
  • If you get a red error message – please review the Troubleshooting section at the bottom of this post.

Two Ways to Create Amazon API Access Keys

Amazon now allows you to create access keys in two different places…

  • Amazon Product Advertising API Settings within your Amazon Associates account
  • Amazon Web Services (AWS)

We’ve discovered, through troubleshooting with AmaLinks Pro customers, that you CANNOT have active license keys in both places otherwise none of your access keys will work properly. You can only use one or the other. You can’t use both. If you have active license keys in both places, you must deactivate and/or delete keys in one location and only use the active keys from the other one.

Following are instructions for how to create Amazon API access keys in each location

Product Advertising API in Amazon Associates

Step 1 – Log In to Amazon Associates

  • CLICK HERE to access the API Credentials page on Amazon
  • Login to your existing Amazon Associates account or create a new one if you don’t already have one.
    • or – login to your account then on the main menu select Tools > Product Advertising API

Step 2 – Follow the steps to create Amazon API keys

  • Easy-to-follow steps – create access key and secret key

Step 3 – Copy & paste keys and save

  • Copy your Access Key ID and Secret Access Key (separately) and paste into a document or something and save it someplace where you will never lose it

Amazon Web Services (AWS)

Step 1 – Log In to Amazon Associates

  • CLICK HERE to access the API Credentials page on Amazon
  • Login to your existing Amazon Associates account or create a new one if you don’t already have one.
    • or – login to your account then on the main menu select Tools > Product Advertising API

Step 2 – Login to Amazon Web Services (AWS)

  • Click on the Manage Credentials button

  • Sign in to or create a new AWS (Amazon Web Services) account

Amazon Web Services Sign In

Your Security Credentials page will automatically open up

Step 3 – Create New Access Key

Important Change – Managing Your AWS Secret Access Keys

As described in a previous announcement, you cannot retrieve the existing secret access keys for your AWS root account, though you can still create a new root access key at any time. As a best practice, we recommend creating an IAM user that has access keys rather than relying on root access keys.

  • Click on Access Keys (access key ID and secret access key)

  • Click on blue button to Create New Access Key

  • Click on link to Show Access Key

Show Access Key

Step 4 – Copy, Paste and Download your New Access Keys

  • Copy your Access Key ID and Secret Access Key (separately) and paste into a document or something and save it someplace where you will never lose it
  • Click the Download Key File button (as a backup) and save that file someplace where you will never lose it

Copy Paste Download Access Keys

Note: Once you close this popup window – you will NEVER be able to access your Secret Access Key again for this particular Access Key ID. If you lose it – you’ll simply have to go through all of these steps again and create a brand new Access Key ID.

Troubleshooting Amazon API Connections Issues

If you’ve followed the steps above and you still do not get a successful connection – please review the following…

Are you using brand new Amazon API keys?

If you just created brand new API keys – it sometimes takes up to 48 hours for those keys to become valid and ready for use. If your API keys are brand new and you can’t get the ‘Connection Successful’ message when you test your connection with AmaLinks Pro – then wait a day or two and come back and test your connection again.

Potential problems with your Amazon Associates account or license keys

  • Do you have an active Amazon Associates account that is in good standing?
    • Check with support for Amazon Associates if you are not sure.
  • Do you meet the requirements to retain access to the PA API?
    • Effective January 23, 2019 – To retain access to PA API, associates must refer at least one qualifying sale through PA API in the trailing 30 days.
  • Do you have active license keys in Amazon Associates PA API Settings and ALSO in AWS?
    • Again, you CANNOT have active license keys in both places otherwise none of your access keys will work properly. You can only use one or the other. You can’t use both. If you have active license keys in both places, you must deactivate and/or delete keys in one location and only use the active keys from the other one.

Potential Problems with Your WordPress Site

  • Per the listed requirements to use AmaLinks Pro – your site must be running on PHP 7.
    • Check with your host if you are unsure about which version of PHP you are on
    • If your site is still running on PHP 5 – you will need to upgrade to PHP 7 (preferably 7.3 or higher)
      • Being on an earlier version of PHP absolutely may cause connection issues with Amazon’s API

Note: WordPress even requires and/or no longer supports older PHP versions.

More Documentation and Tutorials

Questions?

Sales Questions?

  • For all product support, please contact support

For Support, Click Here

(more links in the footer)