> For the complete documentation index, see [llms.txt](https://agodefi.gitbook.io/ago-defi/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://agodefi.gitbook.io/ago-defi/how-to/referral.md).

# Referral

To get your referral link, select “Referral”.

<figure><img src="/files/WFejI6YC4sGfDJA7dnS2" alt=""><figcaption></figcaption></figure>

Select “Copy my invite link" and the link will be automatically copied to your clipboard.

<figure><img src="/files/Xjd0NboPG5GHriWMjGa9" alt=""><figcaption></figcaption></figure>

Send the link to your friends and let them know that they need to connect to Ago using the link provided. Below is the message your friends will see as soon as they access your link.

<figure><img src="/files/fX7gLjaRk7UeHWxEAH47" alt=""><figcaption></figcaption></figure>

You will then earn commission on your friend's activities and the related reward will be displayed in your referral balance as shown below.

<figure><img src="https://agodefi.gitbook.io/~gitbook/image?url=https:%2F%2F2204734564-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Fa4YtNBREZZ8OiQeXttim%252Fuploads%252F64nSK2CEYDKwt4hfYfbM%252Fimage.png%3Falt=media%26token=fb9cca6e-3480-4c1e-aea0-6232351975f7&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=22a63c44eb0f2081959bdbb726fce5d52b39833c818b6f892e3ce58773ca94bc" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://agodefi.gitbook.io/ago-defi/how-to/referral.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
