# Add device to gateway

**URL:** <https://forum.inductiveautomation.com/t/add-device-to-gateway/73281>\
**Category:** General Discussion\
**Created:** [May 4, 2023, 5:55pm UTC](https://forum.inductiveautomation.com/t/add-device-to-gateway/73281 "2023-05-04T17:55:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dan\_mueller](https://avatars.discourse-cdn.com/v4/letter/d/a587f6/32.png) [@dan\_mueller](https://forum.inductiveautomation.com/u/dan_mueller)\
**Post date:** [May 4, 2023, 5:55pm UTC](https://forum.inductiveautomation.com/t/add-device-to-gateway/73281/1 "2023-05-04T17:55:49Z")

</div>

I would like to add a device to the gateway -OPC UA. I am trying to add a red lion HMI to access the tag data. I am not sure how to set it up. It was recommended to use modbus tcp. The HMI has an IP that is reachable. sample tags image attached  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/3/e3cdf36e4ea71339a860208cf3c080a0d70abfe2.png)

---

<div class="post-metadata">

**Author:** ![Gabriel\_Hernandez](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/gabriel_hernandez/32/47179_2.png) [@Gabriel\_Hernandez](https://forum.inductiveautomation.com/u/Gabriel_Hernandez)\
**Post date:** [May 12, 2023, 9:21pm UTC](https://forum.inductiveautomation.com/t/add-device-to-gateway/73281/2 "2023-05-12T21:21:19Z")

</div>

Hi Dan,

You are correct that it is recommended to use Modbus TCP. Here is a link from our user manual that goes through how to connect. [Connecting to Modbus Device](https://docs.inductiveautomation.com/display/DOC81/Connecting+to+Modbus+Device)

There is also a nifty Inductive University video to supplement the information in that linked document on the right side.
