# Setting Clarity Metadata

There are options to link a channel to a enum or bit field type in Clarity automatically by setting the name of the type in Clarity Gateway. This information allows the receiving cloud system to link this tag to the correct enum type definition, but Clarity Gateway itself does not perform any decoding.

## Setting a Clarity Tag's Bit Field

<figure><img src="/files/avmMmFq0Cy4XGF8GjwLd" alt=""><figcaption></figcaption></figure>

In the "system" portion of a "From" channel, set the data type to "Bit Field, and type in the bit field type name you want to link in Clarity. Click "Save.

## Setting a Clarity Tag's Enum Type

An enum type name can be set on all other data types.

<figure><img src="/files/TRtOiLgf9e6eB2lVTKkM" alt=""><figcaption></figcaption></figure>

To set one, fill in the "Enum Type Name" field at the bottom of the system settings.


---

# 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.jcore.io/clarity-gateway/channels/setting-clarity-metadata.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.
