> For the complete documentation index, see [llms.txt](https://docs.greytrix.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.greytrix.com/gumu-sage-300-integration/amazon/pre-requisites/amazon.md). Agents can also search and read this documentation through its [MCP server](https://docs.greytrix.com/~gitbook/mcp).

# Amazon

Generate Amazon SP-API Credentials

Before starting, ensure you have:

* An active **Amazon Seller Central account**
* Access to **Amazon Developer Console**
* Admin permissions for your seller account

#### <mark style="color:$danger;">**🧭 Step 1: Login to Amazon Seller Central**</mark>

* Go to: <https://sellercentral.amazon.com>
* Login using your seller credentials
* Navigate to **Settings (top right corner)**

<figure><img src="https://794987320-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MCRVg-TYx3gVa2Tqtf_%2Fuploads%2FMaBZzch6ZgO4ysBPdyyJ%2Fimage.png?alt=media&amp;token=4953f04c-84d4-4e6f-ad1d-791655298a6b" alt="" width="372"><figcaption></figcaption></figure>

#### <mark style="color:$danger;">🧭 Step 2: Access Developer Console</mark>

* Click on **Settings** (Top Right Corner)**→ User Permissions**

<figure><img src="https://794987320-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MCRVg-TYx3gVa2Tqtf_%2Fuploads%2FseMEcSTstvP3JcWxHkth%2Fimage.png?alt=media&amp;token=d3d82f4b-87bc-41bf-939a-7e06786f05f1" alt="" width="563"><figcaption></figcaption></figure>

* Scroll to **Developer Permissions**

<figure><img src="https://794987320-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MCRVg-TYx3gVa2Tqtf_%2Fuploads%2FEBkPZ04YSGTH1Z2tbiOx%2Fimage.png?alt=media&amp;token=02a1f5a8-13f5-44c3-848a-9e9adde95e07" alt="" width="563"><figcaption></figcaption></figure>

* Click **Visit Developer Central / Manage Apps**

<figure><img src="https://794987320-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MCRVg-TYx3gVa2Tqtf_%2Fuploads%2FL0yvKszKfbdZrPnrWjjk%2Fimage.png?alt=media&amp;token=ac469a2e-aaa9-42a8-9669-331efea6c177" alt="" width="563"><figcaption></figcaption></figure>

<figure><img src="https://794987320-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MCRVg-TYx3gVa2Tqtf_%2Fuploads%2F3C5dFePoFF9r6lXitWQv%2Fimage.png?alt=media&amp;token=405e2246-9acb-45c3-a633-3a6149980683" alt="" width="541"><figcaption></figcaption></figure>

#### <mark style="color:$danger;">🧭 Step 3: Register Your Application</mark>

1. Click **“Add new developer”** or **“Register your application”**

<figure><img src="https://794987320-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MCRVg-TYx3gVa2Tqtf_%2Fuploads%2FDTFHOcqFdA5Hf80xbKpC%2Fimage.png?alt=media&amp;token=46129296-8ed6-4dc6-86db-9abc3b89deb8" alt="" width="563"><figcaption></figcaption></figure>

2. Fill in:

* App Name
* Developer Name
* Description

3. Submit the form

👉 After submission, you will get:

* **Client ID**
* **Client Secret**

#### <mark style="color:$danger;">**🧭 Step 4: Get Client ID & Client Secret**</mark>

<figure><img src="https://794987320-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MCRVg-TYx3gVa2Tqtf_%2Fuploads%2Fx9NKNvNRbYfbB4Ar48ul%2Fimage.png?alt=media&amp;token=0def9ba4-edeb-416f-83b3-8ca47621036f" alt="" width="375"><figcaption></figcaption></figure>

* Copy and store:

  * **Client ID**
  * **Client Secret**

  <figure><img src="https://794987320-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MCRVg-TYx3gVa2Tqtf_%2Fuploads%2FZp5T2rk3K4kZ5mu4zZWR%2Fimage.png?alt=media&amp;token=21d41fe4-d9ef-4d87-a66b-6acfcb5e4a30" alt="" width="375"><figcaption></figcaption></figure>

⚠️ Keep these secure — do not share publicly.

#### <mark style="color:$danger;">🧭 Step 5: Authorize the Application (Generate Refresh Token)</mark>

1. Construct authorization URL:

```
https://sellercentral.amazon.com/apps/authorize/consent?application_id=YOUR_APP_ID
```

2. Open the URL in browser
3. Login and click **Authorize**

<figure><img src="https://794987320-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MCRVg-TYx3gVa2Tqtf_%2Fuploads%2FdzVYV4RaLegKDrb0zUHq%2Fimage.png?alt=media&amp;token=73a087c2-ad94-45ac-9669-f307302241f2" alt=""><figcaption></figcaption></figure>

👉 After authorization:

* You will receive a **Refresh Token**

#### <mark style="color:$danger;">🧭 Step 6: Get Seller ID & Marketplace ID</mark>

#### ✔ Seller ID (Merchant Token)

1. Go to **Settings → Account Info**
2. Find **Merchant Token / Seller ID**

<figure><img src="https://794987320-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MCRVg-TYx3gVa2Tqtf_%2Fuploads%2FVRxlZF8JL2rELj1MkGaS%2Fimage.png?alt=media&amp;token=38e7b414-1d69-4e84-b28a-4e2c1c9e2b10" alt="" width="208"><figcaption></figcaption></figure>

<figure><img src="https://794987320-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MCRVg-TYx3gVa2Tqtf_%2Fuploads%2F9LdflNRZVHdOlyldVMW8%2Fimage.png?alt=media&amp;token=af5b61f3-8a10-4b8a-a014-cfb089f39cc6" alt=""><figcaption></figcaption></figure>

#### <mark style="color:$danger;">🧭 Step 7: Token URL (Standard)</mark>

No need to generate — use the default:

```
https://api.amazon.com/auth/o2/token
```

#### <mark style="color:$danger;">🧭 Step 8: Select Marketplace Region</mark>

Choose Region and Value based on your store:
