# Set Up an MQTT Connection

You can set up data forwarding through an MQTT connection from the Data Forwarding page. Data forwarding through MQTT only supports transferring results data. To set up the connection, you need to provide the details of your MQTT broker.

## Prerequisites

- The EI Tunnel Manager is connected to the local network.

- You are subscribed to the devices whose data you want to forward.

- The details of your MQTT broker are available.

## Procedure

1. Click Create Connection.

2. Choose MQTT.

3. Choose either Standard, TLS, or mTLS from the Authentication Method drop-down menu. Once you have selected the authentication method, the Connection Settings section appears in the page.

   Note: If you select TLS, you must upload a CA certificate. If you select mTLS, you must upload a CA certificate and a Client pfx.

4. Enter the connection details, QoS, and Protocol Version for the MQTT broker.

5. Choose the application data you want to forward and from which device. Under Device Data and Tunnel Data, you can choose specific data from each device by checking the corresponding box.

6. Click Save.

Your connection is now listed on the Data Forwarding page. You can edit, pause, and delete connections here.