# Assign a subscription code to a master account

Assign a subscription code to a master account to prevent investors who don't have the subscription code from viewing the account's trading statistics or subscribing to the account.

Each master account must have its own unique subscription code.

When a subscription code has been assigned to a master account that is hidden in the **Leaderboard**, investors can search for the account by its number, and then they must provide the code to view the account's trading statistics and to subscribe to the account.

When a subscription code has been assigned to a master account that is visible in the **Leaderboard**, the account is displayed to investors in the **Leaderboard**, however, they must provide the code to view the account's trading statistics and to subscribe to the account.

Assign a subscription code to a master account:

{% stepper %}
{% step %}
Go to **Investment Platform** and expand the required platform instance.
{% endstep %}

{% step %}
For copy-trading master accounts, go to **B2COPY** > **Masters**.\
For MAM master accounts, go to **Mam** > **Masters**.\
For PAMM master accounts, go to **Pamm** > **Masters**.
{% endstep %}

{% step %}
Select a master account, and click **Edit**.
{% endstep %}

{% step %}
On the **Properties** tab, go to **Accessibility properties**.
{% endstep %}

{% step %}
Click **Generate Code**. The generated code is displayed in the **Subscription code** field.

<figure><img src="https://1963181118-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNxwcNnEuBTBq87kginPk%2Fuploads%2Fgit-blob-26f87e5a5226487c0cfc79f51322934213c6b0f0%2Fback-assign-subscription-code.png?alt=media" alt="Accessibility properties"><figcaption><p>Accessibility properties</p></figcaption></figure>
{% endstep %}

{% step %}
To replace the previously generated subscription code with a new subscription code, click **Generate Code**.
{% endstep %}

{% step %}
To copy the code to the clipboard, click **Copy code**.
{% endstep %}

{% step %}
To remove the code, click **Delete code**.
{% endstep %}

{% step %}
Сlick **Save** to apply the changes.
{% endstep %}
{% endstepper %}
