# Programmatically add OPC-UA Devices

**URL:** <https://forum.inductiveautomation.com/t/programmatically-add-opc-ua-devices/76417>\
**Category:** Ignition\
**Created:** [July 14, 2023, 11:42pm UTC](https://forum.inductiveautomation.com/t/programmatically-add-opc-ua-devices/76417 "2023-07-14T23:42:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daniyal\_Khawaja](https://avatars.discourse-cdn.com/v4/letter/d/7feea3/32.png) [@Daniyal\_Khawaja](https://forum.inductiveautomation.com/u/Daniyal_Khawaja)\
**Post date:** [July 14, 2023, 11:42pm UTC](https://forum.inductiveautomation.com/t/programmatically-add-opc-ua-devices/76417/1 "2023-07-14T23:42:21Z")

</div>

I am working on a development project which requires me to add multiple OPC-UA devices (Modbus-TCP). I am essentially adding 120 of the same device with the device name incrementing (i.e. Device1, Device2, etc...). I was doing some digging in hopes of discovering a method for me to efficiently add 120 of the same device. I looked in the folder structure where ignition data is stored and found the folder path C:\Program Files\Inductive Automation\Ignition\data\opcua\devices, but nothing was there. Is there any way to achieve what I want? Thanks!

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [July 14, 2023, 11:44pm UTC](https://forum.inductiveautomation.com/t/programmatically-add-opc-ua-devices/76417/2 "2023-07-14T23:44:38Z")

</div>

[https://docs.inductiveautomation.com/display/DOC81/system.device.addDevice](https://docs.inductiveautomation.com/display/DOC81/system.device.addDevice)
