# Assign subscription codes

You can assign subscription codes to master accounts in the Admin panel.

When a subscription code is assigned to a master account, investors must provide it to view the account's trading statistics or subscribe:

* If a master account is *hidden* in the **Leaderboard**, the account doesn't appear in the **Leaderboard**. Investors can search for it by account number but must provide the subscription code to view trading statistics and subscribe.
* If a master account is *visible* in the **Leaderboard**, the account appears in the **Leaderboard**, but investors must still provide the subscription code to view trading statistics and subscribe.

For each master account, a unique subscription code is generated.

To generate a subscription code to a master account:

{% stepper %}
{% step %}
Expand the **Copy Trading**, **PAMM**, or **MAM** menu.
{% endstep %}

{% step %}
Go to **Masters**.
{% endstep %}

{% step %}
If you have several platform instances (such as MT4, MT5, or cTrader), make sure you are in the correct instance, or go to it using the switcher in the upper-left page corner.
{% endstep %}

{% step %}
Select the account and click the account number in the **Account Login** column to open the account details.
{% endstep %}

{% step %}
On the **Properties** tab, locate the **Accessibility Properties** section.
{% endstep %}

{% step %}
Click **Generate Code** to generate a subscription code for the selected master account.

<figure><img src="/files/yUfPnuZySrATitKk27dL" alt="Generate a subscription code"><figcaption><p>Generate a subscription code</p></figcaption></figure>
{% endstep %}
{% endstepper %}

The generated code will be displayed in the **Subscription code** field.

The code can be copied to the clipboard by clicking **Copy** to share it with investors. To remove the code, click **Delete**.


---

# 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.b2copy.b2broker.com/admin-panel-guide/manage-master-and-investment-accounts/assign-subscription-codes.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.
