> For the complete documentation index, see [llms.txt](https://guide.dem.exchange/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guide.dem.exchange/earn/referrals/sharing-your-referral-link.md).

# Sharing Your Referral Link

Because sharing is caring, and in this case, earning.

## Generate Referral Links

To share a referral link, you must first generate one.

**Step 1**: Navigate to the [Demex website](https://app.dem.exchange/), connect your wallet and go to the referral dashboard [here](https://app.dem.exchange/account/referrals).&#x20;

Alternatively you can select 'Referrals' from the menu on the left-hand side of your balance page.

<figure><img src="https://3548599389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MO-XZjWplLUJPNs07G8%2Fuploads%2FtSWON8bBKNtYkbR4WXsD%2FReferrals%20-%20Dark%20%E2%9C%85.png?alt=media&amp;token=14f74cc3-37e8-4e45-b246-d269d6d70e30" alt=""><figcaption></figcaption></figure>

**Step 2:** To generate your unique referral links, click on 'Generate Referral Links'.

<figure><img src="https://3548599389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MO-XZjWplLUJPNs07G8%2Fuploads%2FBo6wBbP2AV156HlNjOyP%2FExample%20-%20Referral%20Dashboard%20New.png?alt=media&amp;token=496dee7c-d2bd-462a-b6c1-0ce2f7c1a134" alt=""><figcaption></figcaption></figure>

**Step 3:** There are varying levels of commission and kickback rates that you may choose to share with your audience. Click on "Referral Settings" to see the various possible options.

<figure><img src="https://3548599389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MO-XZjWplLUJPNs07G8%2Fuploads%2F3yzDOHXt0SgLGKKbKOKz%2FReferrals%20-%20Dark%20%E2%9C%85%20copy.png?alt=media&amp;token=1e610bde-3d1f-4636-81fe-a20334531737" alt=""><figcaption></figcaption></figure>

**Step 4:** The pop-up will displays the various options and the corresponding referral links. You can set what will be used by default in Demex (e.g. in your Trade N' Share QR Code), or just copy the referral link you wish to currently share.

<figure><img src="https://3548599389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MO-XZjWplLUJPNs07G8%2Fuploads%2F6obi96MIBFZH1Kz3J1sS%2FReferral%20Settings%20%E2%9C%85.png?alt=media&amp;token=3b00e287-e157-4376-bfb3-4cc7a84b3d7a" alt=""><figcaption></figcaption></figure>

## **Pro-tip: Share Your Profits & Referral Link To Profit More**

Use our Trade N' Share feature to share your referral links after a successful trade! Here's how:

1. After closing a position, you can tap on the 'Share' icon in the 'Closed Positions' section of your main trading screen to begin sharing.&#x20;

<figure><img src="https://3548599389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MO-XZjWplLUJPNs07G8%2Fuploads%2FzVVi0cgv2wq5OL7TJlc9%2Fimage.png?alt=media&amp;token=99a6fcbe-46b9-453a-85bd-daecd8fa3f57" alt=""><figcaption></figcaption></figure>

2. When generating the position sharing image, the QR code in the image contains a link to Demex with your referral link, allowing you to simultaneously boast about your successful trades and earn referral commissions!

<figure><img src="https://3548599389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MO-XZjWplLUJPNs07G8%2Fuploads%2FOvl7lFjS9Pl2HoLgZ26J%2Fimage.png?alt=media&amp;token=b141cc0f-61bd-4945-ac1a-af39fe3ca1ab" 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://guide.dem.exchange/earn/referrals/sharing-your-referral-link.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
