# Create Project Referral Link

<figure><img src="https://2305343534-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUYoundifYZUyZHQYnZyO%2Fuploads%2FuFZjSgCd37F6qUnwYE1O%2FEarnFees.png?alt=media&#x26;token=faa064fb-e041-4960-a4ac-a86b38d3ce29" 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="https://2305343534-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUYoundifYZUyZHQYnZyO%2Fuploads%2FXL3RpIcx8LA9x4T29qEA%2FScreenshot%202023-11-06%20at%2010.12.23%20PM.png?alt=media&#x26;token=00a2f543-9bcf-484f-80bb-cfc38dfdac4d" 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="https://2305343534-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUYoundifYZUyZHQYnZyO%2Fuploads%2FF2TLDGFtoL7o0tlx98gC%2FScreenshot%202023-11-06%20at%2010.14.03%20PM.png?alt=media&#x26;token=820236a8-5f49-49ad-bdb9-d3d6f6c03092" 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
