Shared Access: Connect MetaTrader with a Delegated Key
Issue a delegated EA connection key, use it with existing client accounts, update scope, reissue keys and revoke transmission separately.
Use an EA connection key when a manager needs to send terminal data to the owner's existing, permitted accounts. This key belongs to an accepted Shared Access invitation; it is separate from the owner's personal API key.
Distinguish access, keys and public links
| Mechanism | Purpose | Effect of withdrawal |
|---|---|---|
| Shared Access invitation | A person enters your workspace with their own sign-in and granted permissions. | Access through this invitation ends and its delegated key stops working. |
| EA connection key | A terminal sends data to the owner's existing permitted accounts. | Data transmission using this key stops; the invitation can remain active. |
| Public link or embed | Visitors view results through Publishing. | Managed separately from invitations and delegated keys. |
Revoking a key or invitation does not remove saved trading history or transfer account ownership. First complete the invitation, permissions and scope, and acceptance.
The screenshots use fictional users, keys and accounts in an isolated demonstration environment. Behavior was checked against production code, including the corrected confirmation dialogs. No real client invitations, terminals or subscriptions were changed.
Prepare the connection permission
As the owner, open More → Shared access → Permissions for the intended person. The invitation must be accepted and include Edit accounts and portfolios.

Account editing is enabled for connection; deletion remains a separate, disabled permission.
Select accounts directly or through a portfolio. An empty scope gives the key no eligible accounts. Check the actual switches rather than relying on the Manager label alone.
For the key to work, the owner needs active Shared Access availability and the recipient needs Manager availability. An issued key does not bypass those conditions.
You do not need Delete data to transmit data to an existing account.
Issue an EA connection key
An accepted invitation with account-management permission displays EA connection key. Press Issue key.

Issue key is available before a delegated key has been issued.

A fictional delegated key has been issued, with Copy, Reissue and Revoke key controls.
The key belongs to this invitation and the owner's workspace. It is not a sign-in password or public link. You can copy it later as well; it is not a one-time display like an invitation link.
One key can cover several accounts if all are currently in the invitation's scope. It does not grant the owner's other accounts.
Find the key as the manager
Open More → Manager workspace. On Clients, press API keys; the badge shows the number of available keys.

API keys is available in the recipient's workspace.

The API keys window identifies the owner, delegated key and number of permitted accounts.
Match the owner to the intended terminal before copying. When working with several clients, do not automatically use the first key in the list.
If the entry is missing, ask the owner to check acceptance, editing permission, selected accounts and whether a key was issued. An existing key may instead show an inactive-subscription warning.
Enter the key in FX Monitor EA
In the intended MetaTrader terminal, open FX Monitor EA settings and Inputs. Paste this client's delegated key into API Key (ApiKey) and save with OK.
| Check | Action |
|---|---|
| Correct terminal and account | Match its account number to an account the owner has already connected and granted. |
| ApiKey | Use the intended owner's key from API keys, rather than your personal workspace key. |
| HistoryDays / SendAllHistory | Set the history range required for the connection. |
| ForceResync | Enable only when intentionally resending the full history. |
| Network access | Check the FX Monitor WebRequest permission and Experts / Journal messages. |
See Connect MetaTrader 4 / MetaTrader 5 for EA installation, MT4/MT5 folders and terminal permissions. This article explains which key and accounts to use.
The owner does not need to give a manager their personal API key. An FX Monitor key also does not replace the terminal's broker sign-in credentials.
Connect an existing owner account first
A delegated key cannot create new accounts. The owner first connects the account through their ordinary setup and grants access. The manager can then use the delegated key in their terminal.
| Situation | What to check |
|---|---|
| The account exists and is granted | The key can transmit if its other conditions are satisfied. |
| The account exists but is outside the scope | Grant it directly or through a permitted portfolio. |
| The account does not exist in the owner's workspace | Connect it as the owner first; the delegated key does not perform initial creation. |
| The account is archived or unavailable under owner conditions | Restore the appropriate source state and limits first. |
After setup, inspect the client account's last update, connection status, Balance/Equity and expected history. Compare it with the terminal at a similar update time.
The demonstration checked key permissions and rejection of unknown or unshared accounts. It did not connect a real MetaTrader terminal to the fictional data.
Understand changes to portfolio scope
If the owner grants a portfolio, the key covers its current member accounts. Atlas Team Portfolio contains two in this example.

The same key now covers two accounts after the invitation scope changes.
Ordinary scope changes do not require reissuing the key. Subsequent requests use current membership; the scope is not permanently frozen at Issue key.
Clearing an account's individual checkbox does not remove access through a permitted portfolio. Check both paths before excluding it.
An empty scope gives the key nowhere to send data. It does not revoke the key or invitation; expanding the scope later can make its conditions eligible again.
Reissue a key
Press Reissue in EA connection key. A new key is issued and the previous one immediately stops working.

The owner sees a new fictional key after Reissue.

After refreshing API keys, the manager sees the same replacement key.
Replace ApiKey in every terminal that used the old key for this invitation. Values in an already open window or clipboard do not update themselves.
Reissue does not revoke the person's workspace access or create another invitation. It is unnecessary for an ordinary account-scope change.
Stop transmission using only this key
Press Revoke key, read the transmission warning and confirm. The block returns to Issue key.

The delegated key is revoked and Issue key is available again.
The dialog explains that the recipient's EA will stop sending data. Cancel leaves the key active; confirm only for the intended key.
Terminals using the revoked key can no longer transmit through it. Previously saved history remains.
The owner's personal API key and other independent keys remain separate. If another valid source updates the same account, revoking one key does not necessarily stop every update.
Keep workspace access after revoking a key
The manager refreshes Clients. Permitted accounts remain available, while the revoked key disappears from API keys.

Client accounts remain available after only the delegated key is revoked.
The invitation's permissions continue to apply. Revoking a key does not itself turn a Manager into a Viewer, cancel alert permissions or close the client workspace.
To resume transmission, the owner issues a new key and the manager replaces ApiKey. The old key is not re-enabled.
To end all collaboration through the invitation, use Revoke on the invitation itself. Continue with Managing Shared Access.