# Adding a Modbus TCP Device

You can add a Modbus device by clicking the `+` button next to `CONNECTIONS` in the sidebar:

![](https://1557066017-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSPy42kVbNL57hubF20gF%2Fuploads%2Fgit-blob-b7e364b91e970a4e01e697d981cc263b3b0f1042%2Flocalhost_50000_security%20\(1\).png?alt=media)

Then select the **Modbus TCP** protocol:

![](https://1557066017-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSPy42kVbNL57hubF20gF%2Fuploads%2Fgit-blob-6ec683a05d144f53c34c8d3cb994e250e88a46bf%2Flocalhost_50000_security%20\(2\).png?alt=media)

Then you'll need to enter a **Name** for the device and the **Hostname or IP Address** and **Port** to connect to. After entering those, click **Save**.

![](https://1557066017-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSPy42kVbNL57hubF20gF%2Fuploads%2Fgit-blob-dee538e685c8a2b22c4970e0acb3fcd56f217966%2Fimage.png?alt=media) ![](https://1557066017-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSPy42kVbNL57hubF20gF%2Fuploads%2Fgit-blob-d29a703ad488091311774ea23da0426b6a8125bf%2Fimage.png?alt=media)

![](https://1557066017-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSPy42kVbNL57hubF20gF%2Fuploads%2Fgit-blob-3b71651b0b86e7da392650a544aa59b0bfe3813b%2Flocalhost_50000_security%20\(3\).png?alt=media)

Once the device has been created, you will see the following screen. The status bar at the top will indicate if Clarity Gateway is connecting to the device, has connected, or failed to connect:

![](https://1557066017-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSPy42kVbNL57hubF20gF%2Fuploads%2Fgit-blob-0763b7e4ed40b5813368b0274103496f3d9c2289%2Flocalhost_50000_connections_create%20\(1\).png?alt=media)

To return to your device settings from another page, click its name in the **MODBUS** section of the sidebar:

![](https://1557066017-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSPy42kVbNL57hubF20gF%2Fuploads%2Fgit-blob-0562e05496c1f67c45114208bcf92309f877a86a%2Flocalhost_50000_security%20\(7\).png?alt=media)
