# 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)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.jcore.io/clarity-gateway/transfer-data-between-connections.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
