API Credentials for Amazon Associates

Guide to obtaining tokens, keys, and connections.

To connect your app to the Amazon Affiliates (Product Advertising API) you need four pieces of information: “Partner tag”, “Access key”, “Secret key” and the country / marketplace where you signed up (Spain, Mexico, etc.). Below are the steps to obtain each one.

Partner tag

  1. 1

    Go to the Amazon Associates website for the country where you registered (e.g., https://partnernet.amazon.es for Spain or https://afiliados.amazon.com.mx for Mexico).

  2. 2

    Log in with your affiliate account.

  3. 3

    On the home page you will see your “Tracking ID” (also called “Store ID”). This string ending in “‑21”, “‑20”, etc. is your Partner tag.

  4. 4

    Copy it exactly as it appears (e.g., "myshop-21").

Access key

  1. 1

    Inside Associates, open the “Tools” menu and choose “Product Advertising API”.

  2. 2

    Click “Manage Your Credentials”. You will see your current keys or an “Add Credentials” button.

  3. 3

    If no keys exist, click “Add Credentials” and Amazon will generate a new key pair.

  4. 4

    Download the .csv file (“Download Credentials”) or click “Show” to copy your “Access Key”.

Secret key

  1. 1

    In the same dialog where you obtained the Access key you’ll see the “Secret key”. It is shown only once, so store it in a safe place.

  2. 2

    If you lose it, create a new pair and deactivate the old one; Amazon never shows a Secret key again once created.

Country / Marketplace

  1. 1

    Confirm which Amazon Associates program you joined (Spain, Mexico, United States, etc.). Each country has its own portal and Partner tag.

  2. 2

    Select that same country in Botize or any app that asks for your marketplace code (es, mx, us, fr, etc.).