> ## Documentation Index
> Fetch the complete documentation index at: https://docs.azvian.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Programs

> What affiliates promote, what they earn, and how long a commission is held

A **program** is a set of rules: where visitors land, how much an affiliate earns, how long a commission is held and when it can be paid. One install can run several programs, for example one for your software and one for your services. Each affiliate belongs to one program.

## Create a program

Open **Programs → New program** (administrators only).

| Field | What it does |
| - | - |
| **Program name** | Shown on the sign-up page and in emails. |
| **Address** | The sign-up page will be at `/join/this-address`. Leave it empty to use the name. |
| **Where visitors land** | Your website or product page. Affiliate links send visitors here with `?ref=their-code`. |
| **Description** | Shown to people applying. |
| **Commission** type and **Amount** | A percentage of the sale, or a fixed amount per referral. `20` means 20% or 20.00 in the currency, depending on the type. |
| **Hold period (days)** | A commission is payable only after this many days, so refunds can still reverse it. Use the length of your refund policy: 14 days is a sensible default for software with a refund window. |
| **Cookie lifetime (days)** | How long a visitor is remembered after clicking an affiliate link. |
| **Minimum payout** | Commissions are paid out in one go once an affiliate has earned at least this. |
| **Currency** | Three letters, for example USD. |
| **Program terms** | Affiliates must accept these when they apply. |
| **Approve applicants automatically** | Leave it off while you are starting, so you see who joins. |

> [!TIP]
>
> Start with a hold period equal to your refund window and automatic approval off. You can loosen both once you trust how the program behaves.

## The sign-up page

Share `https://your-install/join/your-address` with people who may want to promote you. It asks for their name, email, website or channel, and how they will promote you, and requires them to accept your terms.

* With **automatic approval** off, the applicant sees "We received your application" and you review it under **Affiliates**.
* With it on, they are approved immediately, see their personal link on the thank-you page, and are emailed it.

The form has a hidden trap field that bots fill in, and is rate limited. To add a "I'm not a robot" checkbox as well, see [Settings and team](https://docs.azvian.com/affiliate-manager/settings.md#spam-protection).

## Changing a program later

Edit a program at any time. A new commission or hold period applies to **referrals recorded afterwards**: commissions already earned keep the terms they were earned under.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.