# Run an affiliate program
Let other people promote your store with their own link and earn a commission on the sales they bring in. Set up the program, invite and approve affiliates.
An affiliate promotes your store with their own link and earns a commission on every sale that link brings in. You set the rates, approve who joins and pay them yourself. Affiliates are on every plan.
```video walkthroughs/f18-affiliates
title: Run an affiliate program
caption: Set your commission, approve affiliates, share links and pay what you owe.
```
## How it works
1. You set your program's default commission and rules.
2. People join by invitation or by applying on your store's `/affiliates` page.
3. Each affiliate gets a link: your store address followed by `?ref=` and their code.
4. When a buyer clicks the link and pays for an order within the cookie window, the affiliate earns commission on it.
5. You approve the commission, then pay it in a monthly payout run. See [Approve and pay affiliate commissions](/docs/marketing-growth/affiliate-commissions-and-payouts).
## Step 1: Set up your program
1. Go to **Marketing → Affiliates**.
2. Open **More options** at the top right and select **Programme settings**.
3. Check each setting, then select **Save changes**.
| Setting | What it does | Starts as |
|---|---|---|
| **Affiliate programme** | Turns the program on. When it's off, links stop earning and your public page says the program is paused. | On |
| **Accept applications** | Lets anyone apply from your store's `/affiliates` page. | On |
| **Approve automatically** | Approves new applicants and emails them their link straight away. | Off |
| **Commission type** | **Percent** of each sale, or a **Fixed amount** per order. | Percent |
| **Commission** | The default rate for new affiliates, from 1% to 75%. | 10% |
| **Cookie** | How many days after a click a sale still earns commission, from 1 to 365. | 30 days |
| **Hold** | How long commission waits before it can be paid, so refunds come off first. Up to 120 days. | 30 days |
| **Minimum payout** | Smaller balances roll over to the next payout run. | $0 |
| **Pay affiliates by** | **PayPal**, **Bank transfer** or both. | PayPal |
| **Subscriptions** | Which subscription payments earn: **First payment**, **Every payment** or **First N months**. | |
| **Terms** | Shown on your public affiliate page, above the application form. | |
```screenshot marketing-growth/affiliates-overview/01-programme-settings
alt: The Programme settings sheet open over the Affiliates page, showing the Affiliate programme switch, Accept applications, Approve automatically, Commission type set to Percent at 10%, a 30-day cookie, a 30-day hold, the minimum payout and the PayPal payout method
caption: Your program's defaults. Each affiliate can have their own rate.
```
## Step 2: Invite an affiliate
1. On **Marketing → Affiliates**, select **Invite affiliate**.
2. Enter their **Email address**. They don't need a Crate account. Add a **Name** if you like; it's used to build their referral code.
3. Under **Commission**, set their **Commission rate** and **Cookie window**. These start at your program defaults.
4. Under **What they promote**, leave **They earn on every product in my shop** ticked, or untick it and choose products. You can give a product its own rate under **Rate override**.
5. Leave **Email them an invitation to accept** ticked to send an invitation, or untick it to add them as active straight away and share the link yourself.
6. Select **Send invitation**.
```screenshot marketing-growth/affiliates-overview/02-invite-affiliate
alt: The Invite an affiliate sheet with an email address, a name, a 10% commission rate, a 30-day cookie window, They earn on every product in my shop ticked, and Email them an invitation to accept ticked
caption: Invite someone who already talks about your store.
1: 50,18 Email address
2: 50,42 Commission rate
3: 50,88 Send invitation
```
The affiliate shows as **Invited** until they accept, then **Active**. To send it again, open the affiliate and select **Resend invitation**.
## Step 3: Approve applications
People who apply on your store's `/affiliates` page give their name, email and how they'll promote you.
1. Go to **Marketing → Affiliates** and select the **Applications** tab. A number shows how many are waiting.
2. On the **New** tab, read each application.
3. Select **Approve** and confirm the commission rate. Their link goes live straight away.
4. Or select **Decline** and add a reason. The applicant is emailed the decision.
```screenshot marketing-growth/affiliates-overview/03-applications
alt: The Applications tab with New, Approved and Declined tabs, a list of applicants with their email, how they will promote the store and the date they applied, and Approve and Decline buttons on each row
caption: Approve an applicant and their link goes live straight away.
```
```screenshot marketing-growth/affiliates-overview/04-apply-page
alt: The store's public affiliate page on a phone, titled Promote Harbour & Hearth, with the program terms and an application form asking for name, email address and how they will promote the store, and a Send application button
caption: What applicants see at your store's /affiliates page.
frame: phone
```
## Step 4: Share links and track sales
1. Select an affiliate to open their page.
2. Select **Copy link** to copy their referral link. You can also copy it from the row's menu on the list.
3. Their page shows **Clicks**, **Sales**, what **You owe** and what's been **Paid so far**, with each referred sale and its commission.
The tiles at the top of **Affiliates** add up the whole program: **Active affiliates**, **Referred sales**, **Commission earned** and **You still owe**.
## What earns commission
- Commission is worked out on what the buyer paid for each item, after discounts. Shipping and tax never earn commission.
- An affiliate can't earn on their own purchase, and you don't owe commission on orders you place yourself.
- A sale made very soon after the click is flagged so you can check it before approving.
- If an order is refunded, the commission comes off automatically.
## Pause or remove an affiliate
- Open the row's menu and select **Pause**. Their link stops earning until you select **Resume**.
- Select **Remove** to end it. Their link stops tracking straight away. Commission they already earned stays on your books.
## Troubleshooting
- **"is already an affiliate of this shop"**: that email address is already in your list. Search for it on **Affiliates**.
- **"Programme is off. Links don't earn commission."**: the program is switched off. Select **Turn on** in the banner, or switch on **Affiliate programme** in **Programme settings**.
- **A sale didn't earn commission**: check the buyer used the link within the cookie window, that the affiliate is **Active**, and that the product is one they promote.
## Related guides
- [Approve and pay affiliate commissions](/docs/marketing-growth/affiliate-commissions-and-payouts)
- [Marketing overview](/docs/marketing-growth/marketing-overview)
- [Create a discount code](/docs/marketing-growth/create-a-discount-code)
