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… (No API? No Problem! Click Here to learn how to use AmaLinks Pro without the API)
Are you already connected to the API with another plugin?
If you are currently using another plugin that is successfully connected to the Amazon affiliate API (Amazon associates 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 is only one way to create new API access keys for your Amazon Associates account. You MUST do this within your Amazon Associates account.
We’ll cover this 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)
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.
- 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.
Only One Way to Create Amazon API Access Keys
Amazon previously allowed 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 COULD NOT have active license keys in both places otherwise none of your access keys would work properly. You could only use one or the other. You couldn’t use both. If you had active license keys in both places, you had to deactivate and/or delete keys in one location and only use the active keys from the other one.
Today – Amazon REQUIRES that you use API access keys that were generated within your Amazon Associates account. IF you had API access keys generated in AWS – you must delete those and replace them with new API access keys. Here is exactly how to create Amazon API keys within your Amazon Associates account…
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
If you previously had API access keys generated through AWS – you must migrate to new credentials. We have a step-by-step tutorial for exactly how to do that in our Amazon API 5 tutorial post.
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 Amazon product 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
More Documentation and Tutorials
- Amazon’s Official Tutorial – Getting Started with Amazon API – Learn how to use the Amazon API within AmaLinks Pro
- Amazon API 5 – Amazon shut down API 4 effective March 9, 2020. Here is everything you need to know.
- Amazon Link Localization with AmaLinks Pro – What is our solution?