# Where to run the script for creating Boolean OPC tags

**URL:** <https://forum.inductiveautomation.com/t/where-to-run-the-script-for-creating-boolean-opc-tags/84027>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [January 10, 2024, 1:11pm UTC](https://forum.inductiveautomation.com/t/where-to-run-the-script-for-creating-boolean-opc-tags/84027 "2024-01-10T13:11:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kunal\_Purohit1](https://avatars.discourse-cdn.com/v4/letter/k/b5e925/32.png) [@Kunal\_Purohit1](https://forum.inductiveautomation.com/u/Kunal_Purohit1)\
**Post date:** [January 10, 2024, 1:11pm UTC](https://forum.inductiveautomation.com/t/where-to-run-the-script-for-creating-boolean-opc-tags/84027/1 "2024-01-10T13:11:11Z")

</div>

Hello

I have csv file (Data Mapping from third party) and I am novice to Ignition. Where should I run the Script which will create Boolean tags?  
Also, if there are any more to know let me know. '  
Thank you.

---

<div class="post-metadata">

**Author:** ![nideyijuyidong](https://avatars.discourse-cdn.com/v4/letter/n/7cd45c/32.png) [@nideyijuyidong](https://forum.inductiveautomation.com/u/nideyijuyidong)\
**Post date:** [January 10, 2024, 2:00pm UTC](https://forum.inductiveautomation.com/t/where-to-run-the-script-for-creating-boolean-opc-tags/84027/2 "2024-01-10T14:00:15Z")

</div>

Actually, anywhere. You may create a tag manually, check out all properties, then copy the tag's json into your script as tag configuration.

---

<div class="post-metadata">

**Author:** ![Kunal\_Purohit1](https://avatars.discourse-cdn.com/v4/letter/k/b5e925/32.png) [@Kunal\_Purohit1](https://forum.inductiveautomation.com/u/Kunal_Purohit1)\
**Post date:** [January 10, 2024, 2:23pm UTC](https://forum.inductiveautomation.com/t/where-to-run-the-script-for-creating-boolean-opc-tags/84027/3 "2024-01-10T14:23:19Z")

</div>

there are bunch of tags

---

<div class="post-metadata">

**Author:** ![bschroeder](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bschroeder/32/13260_2.png) [@bschroeder](https://forum.inductiveautomation.com/u/bschroeder)\
**Post date:** [January 10, 2024, 2:31pm UTC](https://forum.inductiveautomation.com/t/where-to-run-the-script-for-creating-boolean-opc-tags/84027/4 "2024-01-10T14:31:04Z")

</div>

I would create a single tag, and then use [system.tag.getConfiguration](https://docs.inductiveautomation.com/display/DOC81/system.tag.getConfiguration) to view the tag configuration.

Then using [system.tag.configure](https://docs.inductiveautomation.com/display/DOC81/system.tag.configure) and possibly a carefully crafted list of tags, or even directly reading the CSV file, create all the tags needed.

I would NOT do this the first time in a production environment. Spin up a gateway isolated from production that mirrors as much as possible the production environment and do your importing/testing there. And then once you are happy you can simply either export the tags from your development environment and import into your new one, or just run your script on the production environment.
