> For the complete documentation index, see [llms.txt](https://zessai.gitbook.io/zessai-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://zessai.gitbook.io/zessai-docs/getting-started/how-do-i-connect-my-metatrader-5-mt5-account-to-zess.md).

# How do I connect my MetaTrader 5 (MT5) account to Zess?

Zess connects to MetaTrader 5 using the **Zess AI Bridge EA**.

{% stepper %}
{% step %}

### Select MetaTrader 5

Go to:

**Config → Exchange Keys**

From the list of supported exchanges, select: **MetaTrader 5 Broker**

<figure><img src="https://3462103917-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDh6TWcKfz0xFZOSAdy5Q%2Fuploads%2Fq6FoZ9FDZqrTtVBtfPmx%2F%20connect%20mt5%201.png?alt=media&amp;token=488e93b9-3c60-4a8e-b0f8-1546a4cd1c0d" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Download the Zess AI Bridge EA

Under **Configure MT5 Connector**, download the **Zess AI Bridge EA**.

This EA allows Zess to communicate directly with your MetaTrader 5 terminal.

<figure><img src="https://3462103917-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDh6TWcKfz0xFZOSAdy5Q%2Fuploads%2Fz8KDMXHMTkYTQ8GQMVQY%2Fconnect%20mt5%202.png?alt=media&amp;token=e43762f7-6bc4-4d52-982a-de65c9ca737e" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Install the EA in MetaTrader 5

Copy the downloaded EA into your **Experts** folder in MetaTrader 5.

Restart MetaTrader 5 if required.
{% endstep %}

{% step %}

### Attach the EA to a chart

Open any chart in MetaTrader 5.

Drag the **Zess AI Bridge EA** onto the chart.

The EA must remain attached to the chart while using Zess.
{% endstep %}

{% step %}

### Configure the EA

Double-click the **hat icon** (or open the EA Properties) to open the **Inputs** section.

Enter the following information:

* **Bridge URL:**\
  <https://app.zess.ai/>
* **Connector ID**
  * Copy the **Connector ID** from the Zess page where you downloaded the EA.
* **Pairing Token**
  * Copy the **Pairing Token** from the same Zess page.

Paste both values into the corresponding fields in the EA.

Click **OK** when finished.

<figure><img src="https://3462103917-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDh6TWcKfz0xFZOSAdy5Q%2Fuploads%2FWYSjVpSxhi85lVEYaIlQ%2F%20connect%20mt5%205.png?alt=media&amp;token=6e751eed-25e3-4b37-beb7-833081732af1" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Enable Algo Trading

In MetaTrader 5, click the **Algo Trading** button so it is enabled (green).

{% hint style="warning" %}
If Algo Trading is disabled, the EA cannot receive trading instructions from Zess.
{% endhint %}
{% endstep %}

{% step %}

### Allow Web Requests

In MetaTrader 5, go to:

**Tools → Options → Expert Advisors**

Enable:

✅ **Allow WebRequest for listed URL**

Add the following URL:

<https://app.zess.ai/>

Click **OK** to save your changes.

<figure><img src="https://3462103917-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDh6TWcKfz0xFZOSAdy5Q%2Fuploads%2FTCGecRrabXMllu2oEayk%2Fconnect%20mt5%207-3.png?alt=media&amp;token=1225147b-4ac4-43b6-a901-d80f43b1a6e1" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Confirm the EA is connected

Look at the **top-right corner** of your chart.

You should see:

**Zess AI Bridge EA**

The **hat icon should be blue**, indicating that the bridge is connected successfully.

{% hint style="info" %}
If the hat is **not blue**:

* Make sure **Algo Trading** is enabled.
* Confirm the EA is attached to the chart.
* Verify the **Bridge URL** is <https://app.zess.ai/>.
* Check that the **Connector ID** and **Pairing Token** were entered correctly.
* Ensure the WebRequest URL has been added in **Tools → Options → Expert Advisors**.
  {% endhint %}

<figure><img src="https://3462103917-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDh6TWcKfz0xFZOSAdy5Q%2Fuploads%2FxvPiKXijO4Qfgxs0l8QH%2F%20connect%20mt5%208.jpeg?alt=media&amp;token=99c80b03-e599-4b4c-b868-f999373f047a" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### You're ready to trade

Once the hat is blue, your MetaTrader 5 account is successfully connected to Zess.

Your AI Trader can now communicate with MT5 and automatically place and manage trades according to your selected strategy.
{% endstep %}
{% endstepper %}
