# Referral Setting

You have the ability to specify which user types (such as traders, IBs, or admins) are permitted to refer clients, thereby enhancing oversight of your referral networks and ensuring that selected referrals are strategically aligned with your business objectives.&#x20;

Furthermore, you can automatically assign a client to an owner, simplifying account management for you.&#x20;

### <mark style="color:red;">**Configuring Referral Authorization**</mark>

To setup referral authorization for user types, follow these steps:

{% tabs %}
{% tab title="Step 1" %}

1. Navigate to "Login/Registration Method".&#x20;
2. Click the "Edit" icon. <br>

   <figure><img src="https://1412218885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZjte3ihj30mTFvqCasyX%2Fuploads%2FkfAOI84xpoRHHRTabLRI%2Fimage.png?alt=media&#x26;token=c752d501-8941-44b3-9be8-92af86e5cc2f" alt=""><figcaption></figcaption></figure>

{% endtab %}

{% tab title="Step 2" %}

1. Select the user types that are permitted to refer clients.
2. Select the "Owner" to assign the client to.
   1. You can select a specific "Owner"; or&#x20;
   2. Select "Owner of Direct Referrer". This will automatically assign the client to the same owner as their referrer.&#x20;
3. Click the "Save" icon.<br>

   <figure><img src="https://1412218885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZjte3ihj30mTFvqCasyX%2Fuploads%2Foot3Fn2HxLIion2ZwIP6%2Fimage.png?alt=media&#x26;token=c77d6d6b-f873-42fc-a645-e7a3695a1159" alt=""><figcaption></figcaption></figure>

{% endtab %}
{% endtabs %}

### <mark style="color:red;">**Application**</mark>

1. When the Trader or IB user types are not permitted to refer clients, they will not have access to any promotional links in the CRM Client Portal.<br>
2. If a user type that is not authorized to refer provides their referral code to a potential client, an error will occur stating that the "Referral Code is invalid." The referral code will then be cleared, allowing the client to continue registering their account.<br>

   ![](https://reference-guide.gitbook.io/~gitbook/image?url=https%3A%2F%2F2882407036-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FtcPc3eNiDR0XV3sykf6H%252Fuploads%252FdBZ0YcU1hREE1sEoZvtT%252Fimage.png%3Falt%3Dmedia%26token%3Dae0317b0-e475-49a4-8b45-4fe6a227a367\&width=768\&dpr=4\&quality=100\&sign=e9474ab9\&sv=2)


---

# 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://reference-guide.gitbook.io/crm-back-office-user-guide-full/17.-settings/client-portal-login-registration-settings/referral-setting.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.
