> For the complete documentation index, see [llms.txt](https://docs.received.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.received.ai/partner-billing/the-referral-billing-process/set-up-referrals.md). Agents can also search and read this documentation through its [MCP server](https://docs.received.ai/~gitbook/mcp).

# Set Up Referrals

## Step 1: Create a Partner&#x20;

Navigate to the **'Customers Tab'** and click on **'New Customer'**. Fill in the partner information and turn on the **'Partner'** toggle to mark it as a partner.&#x20;

<figure><img src="https://353618749-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5hOxCDd4OuyqtVEtphDN%2Fuploads%2FLIlspSuLnQfOwaCBdS2D%2Fadd-customer-modal.png?alt=media&amp;token=9d81d809-a931-48a9-977e-09d285f6995f" alt="" width="375"><figcaption></figcaption></figure>

## Step 2: Create a Customer Contract, Attach Partner, and Define Referral Fees&#x20;

Navigate to the **'Customers Tab'** and click on **'Create a Contract'.** Click on **'Search'** to add the relevant customer to the contract. Continue to add products and customize the contract (see the full contract creation process [here](https://docs.received.ai/enterprise-contract-billing/the-enterprise-contract-billing-process/set-up-enterprise-contracts.md)). \
\
Once the customer contract is complete, **attach the relevant referral partner**.&#x20;

<figure><img src="https://353618749-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5hOxCDd4OuyqtVEtphDN%2Fuploads%2FjotGBMi8wtTChBWxO38Q%2F2.1.3_CPP_Contract%20Editor%20(15).png?alt=media&amp;token=a7c57740-ba6c-4bf5-addd-45855555533e" alt=""><figcaption></figcaption></figure>

Once you attach a partner, a new tab will appear - **'Partners'.**  Use the partners tab to define your partner fees. You can define one fee **for the whole contract**, or define separate fees for **each product** in the contract.&#x20;

<figure><img src="https://353618749-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5hOxCDd4OuyqtVEtphDN%2Fuploads%2FWHASWlQuWIEN2y8TGHnO%2F65b224d988bb131c56ab29ce_Partners-p-800.png?alt=media&amp;token=5a53afa1-9001-472c-a05e-f7f2ac9a6cff" alt=""><figcaption></figcaption></figure>

##
