# \[Solved\] Devices tags creation

**URL:** <https://forums.losant.com/t/solved-devices-tags-creation/1483>\
**Category:** Help\
**Created:** [January 27, 2019, 5:40am UTC](https://forums.losant.com/t/solved-devices-tags-creation/1483 "2019-01-27T05:40:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tron7](https://avatars.discourse-cdn.com/v4/letter/t/47e85d/32.png) [@Tron7](https://forums.losant.com/u/Tron7)\
**Post date:** [January 27, 2019, 5:40am UTC](https://forums.losant.com/t/solved-devices-tags-creation/1483/1 "2019-01-27T05:40:00Z")

</div>

I’m looking for help to understand how add tags to a specific device .  
Despite having read the Losant Doc. I cannot realize how do that.  
Also I saw the Losant University example about context variables, but I do not understand  
from where the tags used on that example comer from.  
Thanks

---

<div class="post-metadata">

**Author:** ![Dylan\_Schuster](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/dylan_schuster/32/2850_2.png) [@Dylan\_Schuster](https://forums.losant.com/u/Dylan_Schuster)\
**Post date:** [January 27, 2019, 5:51pm UTC](https://forums.losant.com/t/solved-devices-tags-creation/1483/2 "2019-01-27T17:51:15Z")

</div>

Here is our documentation on [device tags](https://docs.losant.com/devices/overview/#device-tags). In short, tags are key/value pairs used primarily for device categorization so that similar devices can be grouped together in your [device queries](https://docs.losant.com/devices/device-queries/#device-queries).

You can also use device tags to store meta information about Losant devices; for example, a number of people store third-party IDs that correlate to other services (such as Particle or Sigfox) and then use those values in [Get Device Nodes](https://docs.losant.com/workflows/data/get-device/) in workflows to interact with those devices.

---

<div class="post-metadata">

**Author:** ![WoobaGooba](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/woobagooba/32/507_2.png) [@WoobaGooba](https://forums.losant.com/u/WoobaGooba)\
**Post date:** [January 27, 2019, 5:58pm UTC](https://forums.losant.com/t/solved-devices-tags-creation/1483/3 "2019-01-27T17:58:36Z")

</div>

> [@Dylan\_Schuster](#):
>
> You can also use device tags to store meta information about Losant devices; for example, a number of people store third-party IDs that correlate to other services (such as Particle or Sigfox) and then use those values in [Get Device Nodes](https://docs.losant.com/workflows/data/get-device/) in workflows to interact with those devices.

Similarly tags are being used for device specific event thresholds, etc. Various static configuration settings. I’ve mentally got this down to attributes are for time series reporting of device state, the rest (configuration etc) goes into the tags.

---

<div class="post-metadata">

**Author:** ![Tron7](https://avatars.discourse-cdn.com/v4/letter/t/47e85d/32.png) [@Tron7](https://forums.losant.com/u/Tron7)\
**Post date:** [January 27, 2019, 7:39pm UTC](https://forums.losant.com/t/solved-devices-tags-creation/1483/4 "2019-01-27T19:39:49Z")

</div>

@Dylan_Schuster @WoobaGooba

I understand what you are explaining me.  
My point is how you create a device tag. Which is the way to do that?  
I need to understand that in order to implement what Brandon suggested me to do for compare payload data with current slider value.  
Thanks

---

<div class="post-metadata">

**Author:** ![Brandon\_Cannaday](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/brandon_cannaday/32/14_2.png) [@Brandon\_Cannaday](https://forums.losant.com/u/Brandon_Cannaday)\
**Post date:** [January 28, 2019, 4:17pm UTC](https://forums.losant.com/t/solved-devices-tags-creation/1483/5 "2019-01-28T16:17:52Z")

</div>

Looks like this was elaborated here:

> [@Retrieve value from slider](https://forums.losant.com/t/retrieve-value-from-slider/1420/5):
>
> Hi Tron, There are several ways to create and update device tags. The first is on the device’s page at the bottom on either creation or when updating. Another way to add or update device tags would be in the workflow using the [Device Update Node](https://docs.losant.com/workflows/data/update-device/). The tag value and the tag key are both template-able so you can use data off your payload to set or update a tag key or value. Also if you need to update your device tags outside of the Losant Platform you can always use the [D…](https://docs.losant.com/rest-api/device/#patch)
