# Create a tag groups with the SDK

**URL:** <https://forum.inductiveautomation.com/t/create-a-tag-groups-with-the-sdk/33677>\
**Category:** Module Development\
**Tags:** ignition80\
**Created:** [April 3, 2020, 9:26pm UTC](https://forum.inductiveautomation.com/t/create-a-tag-groups-with-the-sdk/33677 "2020-04-03T21:26:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [April 3, 2020, 9:26pm UTC](https://forum.inductiveautomation.com/t/create-a-tag-groups-with-the-sdk/33677/1 "2020-04-03T21:26:41Z")

</div>

I try to **create** a tag groups with the SDK or **edit** an existing tag groups.  
Package [com.inductiveautomation.ignition.common.tags.config]  
The constructor of the class TagGroupConfiguration: [TagGroupConfiguration](http://files.inductiveautomation.com/sdk/javadoc/ignition80/8.0.10/com/inductiveautomation/ignition/common/tags/config/TagGroupConfiguration.html#%3Cinit%3E(com.inductiveautomation.ignition.common.config.PropertySet))​([PropertySet](http://files.inductiveautomation.com/sdk/javadoc/ignition80/8.0.10/com/inductiveautomation/ignition/common/config/PropertySet.html) config)  
I'm not sure of the constructor to use for the config PropertySet ?  
Perhaps this one:  
[BasicPropertySet]  
([http://files.inductiveautomation.com/sdk/javadoc/ignition80/8.0.10/com/inductiveautomation/ignition/common/config/BasicPropertySet.html#\<init\>(com.inductiveautomation.ignition.common.config.PropertyValue...)](http://files.inductiveautomation.com/sdk/javadoc/ignition80/8.0.10/com/inductiveautomation/ignition/common/config/BasicPropertySet.html#%3Cinit%3E(com.inductiveautomation.ignition.common.config.PropertyValue...)))​([PropertyValue](http://files.inductiveautomation.com/sdk/javadoc/ignition80/8.0.10/com/inductiveautomation/ignition/common/config/PropertyValue.html)... values) ?  
but I don't find any dedicated constructor for the PropertyValue of TagsGroups in order to use:

**CompletableFuture\<List\> saveTagGroupsAsync(List tagGroups, SecurityContext securityContext)**

related post to read a tag groups:

> [@\[IGN-2684\]Import / Export tag group settings](https://forum.inductiveautomation.com/t/ign-2684-import-export-tag-group-settings/59771):
>
> Is there a way to import / export tag group settings via scripting? I want to add these settings to an automated tag import/export when using a git workflow - they are easily forgotten when setting up a project. In the designer there is a possibility to import and export these settings to a JSON file, however I can not find any commands in the scripting library. (e.g. Like system.tag.exportTags). Are they somehow accessible through the SDK? E.g.with TagProvider.getTagGroupsAsync()? Or is the…
