# Referral invite

> People earn their reward when a friend they invited joins and does what you ask.

Source: https://dashboard.adquest.batriders.ir/docs/dashboard/quests/referral · Audience: Publishers · Section: Quests

## Set it up

1. On **What should people do?**, choose **Referral invite** under **Drive an action**, then **Use this quest**.
2. In the **Rules** section, choose what the invited friend must do, how long they have, and who gets the reward.
3. Add the link people share. Your app must keep the invite code while the friend signs up.
4. Fill in **Reward** and **Schedule**, and choose **Publish Quest**.

## Before you publish

- Decide who gets the reward and what the invited friend must do.
- Test with two different accounts. Inviting yourself does not count.

## What your developer does

Your developer shows each person their invite link and reports when an invited friend joins.

- [Referral invite for developers](https://dashboard.adquest.batriders.ir/docs/quest-evidence/referral): The API calls and code for this format.
