> For the complete documentation index, see [llms.txt](https://docs.autopilotbrand.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.autopilotbrand.com/getting-started/agentsite-setup/agent-coupon-setup.md).

# Agent Coupon Setup

How to create a discount that's shared only through your Agentsite

AI assistants pass the code on to shoppers or apply it themselves, so every redemption is an order your Agentsite drove.

## Amazon

Use a **Social Media Promo Code**. Amazon creates a marketing page URL that applies the discount automatically. The discount isn't shown on your product detail pages.

{% hint style="info" %}
Before starting: your brand must be enrolled in **Brand Registry**. A promotion runs for up to 30 days.
{% endhint %}

### 1. Create the promotion

* In Seller Central, go to **Advertising → Promotions → Create a Promotion → Social Media Promo Code**.
* Under **Conditions**, select the ASINs and set the percentage off.
* Under **Scheduling**, set start and end dates.
* Under **Additional Options**, set the promo code, e.g. `AIHOLIDAY20`, and **One redemption per customer**.
* Click **Submit**. The promotion is active within about 4 hours, and Amazon gives you a marketing page URL.

{% hint style="warning" %}
Check that the promotion doesn't stack with other coupons or promotions on the same ASINs.
{% endhint %}

### 2. Share with Autopilot

Send the code, marketing page URL, discount and dates to the Autopilot team. Autopilot publishes them on your Agentsite.

## Shopify

### 1. Create the discount

* In Shopify admin, go to **Discounts → Create discount → Amount off products**.
* Method: **Discount code**. Use letters and numbers only, e.g. `AIHOLIDAY20`.
* Value: **Percentage**, e.g. 20%. Applies to: **Specific collections** or all products.
* Sales channels: **Online Store**. Eligibility: **All customers**.
* Minimum purchase requirements: **No minimum**. Maximum discount uses: leave unchecked.
* Combinations: leave unchecked.
* Active dates: set start and end.
* Click **Save discount**.

### 2. Build the link

A discount link applies the code automatically:

```
https://yourdomain.com/discount/AIHOLIDAY20?redirect=/collections/promo-collection
```

Replace the code and the collection path, or open the discount and click **Promote → Get a shareable link**.

### 3. Share with Autopilot

Send the code, link, discount and dates to the Autopilot team. Autopilot publishes them on your Agentsite.
