# Faster way to add multiple opcua devices to the gateway

**URL:** <https://forum.inductiveautomation.com/t/faster-way-to-add-multiple-opcua-devices-to-the-gateway/41996>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [January 6, 2021, 2:27pm UTC](https://forum.inductiveautomation.com/t/faster-way-to-add-multiple-opcua-devices-to-the-gateway/41996 "2021-01-06T14:27:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marc.Akoto](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/marc.akoto/32/19291_2.png) [@Marc.Akoto](https://forum.inductiveautomation.com/u/Marc.Akoto)\
**Post date:** [January 6, 2021, 2:27pm UTC](https://forum.inductiveautomation.com/t/faster-way-to-add-multiple-opcua-devices-to-the-gateway/41996/1 "2021-01-06T14:27:19Z")

</div>

Hi there,  
In the Ignition gateway, when adding 10s of Modbus TCP devices, each having a separate IP address :  
Is there a quick way to create them instantaneously in the OPCUA device wizard, faster than adding them one by one manually ? Anything like a .xml / .json file import …?  
Thanks

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/d/3df12926b4588d0ea6d692a7b63daf32bc3f5739.png)

---

<div class="post-metadata">

**Author:** ![bpreston](https://avatars.discourse-cdn.com/v4/letter/b/4af34b/32.png) [@bpreston](https://forum.inductiveautomation.com/u/bpreston)\
**Post date:** [January 6, 2021, 2:39pm UTC](https://forum.inductiveautomation.com/t/faster-way-to-add-multiple-opcua-devices-to-the-gateway/41996/2 "2021-01-06T14:39:02Z")

</div>

From the gateway webpage I don’t believe so but from in the designer you should be able to do a simple script using using [system.device.addDevice()](https://docs.inductiveautomation.com/display/DOC81/system.device.addDevice). You can even build the script so it imports a CSV with the parameters needed to create the devices.

---

<div class="post-metadata">

**Author:** ![Marc.Akoto](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/marc.akoto/32/19291_2.png) [@Marc.Akoto](https://forum.inductiveautomation.com/u/Marc.Akoto)\
**Post date:** [January 6, 2021, 3:12pm UTC](https://forum.inductiveautomation.com/t/faster-way-to-add-multiple-opcua-devices-to-the-gateway/41996/3 "2021-01-06T15:12:04Z")

</div>

This function did the trick ! Thanks @bpreston
