# Tags

Devices can be structured by annotating them with **tags**. This allows managing large amounts of **Assets** within a **Workspace** at once and brings more convenience by setting up [**Rules**](/akenza.io/get-started/rule-engine.md) that apply to multiple [**Assets**](/akenza.io/get-started/create-new-device.md). The following steps are explained in more detail:

{% hint style="info" %}
Asset Tags can also be used to filter or search for assets within the **Asset Inventory**.
{% endhint %}

### 1. Adding tags during device creation

A **tag** can be added optionally to a device during device creation. Already existing tags will be displayed on the tag field and can be selected if wanted. Otherwise, a new tag can be created by giving an individual name. Tag names are limited to **64 characters** and could stand for a group of sensors such as *Temperature, Humidity,* or *CO2* or for certain rooms or areas like *1st-floor building A*.

![Asset tags during device creation](/files/ratn2tONEr0DSBM5yeKI)

### 2. Adding tags on the device detail page

When adding tags to a device on the **device detail page** you can choose from the existing workspace tags or create a new tag. A device can have one or multiple tags. When tags are removed from a device, they are not deleted from the workspace.

![Asset tags on device detail page](/files/pM8myWLk5r1N8G7hOweN)

### 3. Managing tags on the workspace settings page

A **tag** can be added or edited on the Tag management page in the workspace settings. Already existing tags can be viewed and modified. A new tag can be created or a set of new tags can be imported using bulk import (see the template below).&#x20;

Tag names are limited to **64 characters** and have to be **unique within a workspace**. A tag can stand for a group of sensors such as *Temperature, Humidity,* or *CO2* or for certain rooms or areas like *floor1*.

A bulk import template for tags can be downloaded here:

{% file src="/files/SG1vFLHaE6YRzvj24NVS" %}

### 4. Use of tags as rule input

Tags can be used as **rule input** on the Rule Engine. This simplifies the selection of a multiple devices that shall have the same rule logic applied. All existing tags in the **Workspace** are displayed on the Rule Input as A*vailable tags* and can be selected as a Rule Input.

{% hint style="warning" %}
To apply tags as a Rule Input, devices must have the same data schema (topic and data key)
{% endhint %}

![Tag as rule input](/files/HyEmxq9MjGaXIGZE9l6T)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.akenza.io/akenza.io/get-started/your-organization/how-to-use-tags-on-akenza.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
