# Create a client tag?

**URL:** <https://forum.inductiveautomation.com/t/create-a-client-tag/25092>\
**Category:** Module Development\
**Tags:** ignition80\
**Created:** [May 17, 2019, 6:40am UTC](https://forum.inductiveautomation.com/t/create-a-client-tag/25092 "2019-05-17T06:40:57Z")\
**Posts on this page:** 3\
**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:** [May 17, 2019, 6:40am UTC](https://forum.inductiveautomation.com/t/create-a-client-tag/25092/1 "2019-05-17T06:40:57Z")

</div>

@paul-griffith, @mgross  
Is it possible with Ignition 8.0 to create a **Client** Tag with the SDK ?  
I’ve found in the javadoc **clientContext.getTagManager().saveTagConfigsAsync**?  
Is it suitable for client tag ???  
could you provide a snipped if possible ?

---

<div class="post-metadata">

**Author:** ![mgross](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mgross/32/3311_2.png) [@mgross](https://forum.inductiveautomation.com/u/mgross)\
**Post date:** [May 17, 2019, 2:57pm UTC](https://forum.inductiveautomation.com/t/create-a-client-tag/25092/2 "2019-05-17T14:57:35Z")

</div>

Client tags is the only place that was not fully refactored to use the new tag system. I think you can create client tags with the old API, but you also need to save the current project somehow to retain those tags. Anyway, try this:

```auto
        // Note that context is DesignerContext
        ClientSubManager targetManager = null;
        ClientTagProvider clientProv = context.getTagManager().getClientTagProvider("client");
        if (clientProv != null && clientProv instanceof SubManagerAdapter) {
            this.targetManager = ((SubManagerAdapter) clientProv).getTarget();
        }

        // Now use something like targetManager.addTags() to add client tags

```

---

<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:** [May 17, 2019, 3:19pm UTC](https://forum.inductiveautomation.com/t/create-a-client-tag/25092/3 "2019-05-17T15:19:16Z")

</div>

Thanks a lot, I will try !
