# Create Project Referral Link

<figure><img src="/files/AHArmQ21hc1yVtSAGjUT" alt=""><figcaption><p>Earn through referral fees</p></figcaption></figure>

{% embed url="<https://youtu.be/KH7HDJg2vUE?si=LTqZ4RGo_ODCks6c>" %}
Referral links
{% endembed %}

One of the best things about POTLOCK, is we are aligning incentives for citizens, and those helping grow the pot, by doing automatic on chain referrals + payouts. And its super easy. All you need to do is go to your favorite project page when you are logged in and click the share button.

<figure><img src="/files/i6acpyXnmF8tTnOLtOgF" alt=""><figcaption><p>Click the link button to get your referral link if you are logged in</p></figcaption></figure>

When a project then goes through your link, the referred account in props will be added to project in local storage (you can see this on project breakdown).

<figure><img src="/files/x86G0TCaYCmMuSVPtO5N" alt=""><figcaption><p>Project breakdown indicating who the referrer is</p></figcaption></figure>

Or if you are into tinkering and not logged in you can simply <https://near.social/potlock.near/widget/Index?tab=project&projectId=magicbuild.near&referrerId=potlock.near> replace POTLOCK.near as the referredId in the props to the account of your choice


---

# Agent Instructions: 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:

```
GET https://docs.potlock.io/user-guides/projects/create-project-referral-link.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
