> For the complete documentation index, see [llms.txt](https://docs.jcore.io/clarity-gateway/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.jcore.io/clarity-gateway/transfer-data-between-connections.md).

# Transfer Data Between Connections

In this example we'll configure Clarity Gateway to send values from an EtherNet/IP connection to MQTT. To do so we have to use use **System Tags** as an intermediary. The EtherNet/IP connection will transfer the values from EtherNet/IP tags to the System Tags, and the MQTT connection will transfer the values from the System Tags to MQTT tags:

<table><thead><tr><th width="218.26878474712117">EtherNet/IP Tag</th><th>→ System Tag</th><th>→ MQTT Tag</th></tr></thead><tbody><tr><td><code>CURING/HEATED_MIN_TEMP</code></td><td>→ <code>Site 1/Heated Min Temp</code></td><td>→ <code>heatedMinTemp</code></td></tr><tr><td><code>CURING/HEATED_MAX_TEMP</code></td><td>→ <code>Site 1/Heated Max Temp</code></td><td>→ <code>heatedMaxTemp</code></td></tr></tbody></table>

We'll assume an EtherNet/IP connection [has been created](/clarity-gateway/connections/ethernet-ip/adding-an-ethernet-ip-connection.md) and provides the tags `CURING/HEATED_MIN_TEMP` and `CURING/HEATED_MAX_TEMP`:

![](/files/NXFJ7PKMsYuVtXtOq046)

First we'll set the **System Tag Prefix** to **Site 1/**:

![](/files/HPtW3Ia0qa0Mn12XxzQH)

Then we'll click the checkboxes at the left to enable and change the **System Tags** for these channels to Site 1/**Heated Max Temp** and Site 1/**Heated Min Temp**:

![](/files/5QBrex9aSN8sNiecJiBn)

Finally, click **Save**:

![](/files/fV0kRqOSwjLXYWYZJ2R3)

Once these changes have been saved, if EtherNet/IP is connected you should see the values getting routed to the system tags (you may need to change the search to see the channels again):

![](/files/FX0TPSpzd9WQGSiouJFT)

Next we'll assume an [MQTT connection has been created](/clarity-gateway/connections/mqtt/adding-a-sparkplug-mqtt-connection.md). Navigate to it by clicking it in the sidebar:

![](/files/nopj1qmTb6z05AMBxrcq)

In the **Channels To MQTT** table, make sure that **Show All Tags** is turned on:

![](/files/EhLxJVsLUJd3Cfmcyhqh)

Then if you search or scroll down you should be able to find the **System Tags** we're writing from EtherNet/IP (**Site 1/Heated Min Temp** and **Site 1/Heated Max Temp**):

![](/files/Co7ZGdMqJcFmPSsEYCDb)

Click the checkboxes at the left to enable these, then set the desired **MQTT Tags** (in this example, **Heated Max Temp** and **Heated Min Temp**):

![](/files/BUIcftYu3YwX39hvLTR9)

Finally, click **Save**:

![](/files/HxEC0uhDcfGADf6BrbcS)

Once the changes have been saved, if MQTT is connected, you should see the values being sent to MQTT:

![](/files/OwgdrVOrgwimSBClRKo1)
