# Tag

## Sources

| Download                                      | Sources                              |
| --------------------------------------------- | ------------------------------------ |
| <https://github.com/pluginsGLPI/tag/releases> | <https://github.com/pluginsGLPI/tag> |

***

## Requirements (self-hosted)

| GLPI Version | Minimum PHP | Recommended |
| ------------ | ----------- | ----------- |
| 10.0.x       | 8.1         | 8.2         |
| 11.0.x       | 8.2         | 8.4         |

{% hint style="info" %}
This plugin is available without a [GLPI Network](https://services.glpi-network.com/#offers) subscription. It is also available on [GLPI Cloud](https://glpi-network.cloud).
{% endhint %}

***

## Install the plugin

* Go to the marketplace. Download and install the plugin "**Tag**".

<div align="left"><figure><img src="/files/RtHOcxfEu6LogpmI6hII" alt="images/Tags-1.png"><figcaption></figcaption></figure></div>

***

## Setting up the plugin

* From **`Setup`** > **`Dropdowns`**
* Click on **Tag management**
* Then **Tags**

<div align="left"><figure><img src="/files/m9mBZzb0rh4oWNcKRyBT" alt="images/Tags-2.png"><figcaption></figcaption></figure></div>

* Enter a name that will be visible when tags are added
* Enter a description (optional)
* Add a colour
* Associate one or more elements. If nothing is ticked, it will not be visible in any element by default.

<figure><img src="/files/6q2Ox6mxRpLFdQo3OWwU" alt="images/Tags-3.png"><figcaption></figcaption></figure>

### Choose where to find the tag

You can indicate whether the tag should be at the top or bottom of the list.

* From **`Setup`** > **`General`** > **`Tag management`**, specify the tag location.

Bottom :

<div align="left"><figure><img src="/files/e2FQjSgLP7yOym6p7IaG" alt="images/Tags-7.png"><figcaption></figcaption></figure></div>

Top:

<div align="left"><figure><img src="/files/qpDn9uIl1u0W0ejxSSlB" alt="images/Tags-8.png"><figcaption></figcaption></figure></div>

***

## Adding rules

You can add business rules (tickets, computers, etc.) to add tags to particular items.

Example : Assign a VIP tag when a member of the management group writes a ticket.

* Here are the criteria to be implemented from **`Administration` > `Rules` > `Business rules for tickets`**

<figure><img src="/files/38i3bC8waSPy3mMf25aW" alt="images/Tags-4.png"><figcaption></figcaption></figure>

<figure><img src="/files/PFXS4sMW41DDy4cFUF8a" alt="images/Tags-5.png"><figcaption></figcaption></figure>

* After creating a ticket :

<div align="left"><figure><img src="/files/AnHKmzIXAx8hDWfKIwEq" alt="images/Tags-6.png"><figcaption></figcaption></figure></div>

{% hint style="info" %}
Tags can, of course, be added manually if they have been set to be visible in the specified item.
{% endhint %}

***

## FAQ

If you have any questions about using the plugin, please consult our FAQ

<a href="/spaces/SvoJ3lioglS2UZLcWWyP/pages/c5rOpoSumcZpQt1fweNC" class="button secondary">Go to FAQ</a>


---

# 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://help.glpi-project.org/doc-plugins/plugins-glpi/tag.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.
