# Generate Linkcode

*Article Topics:* [*NATS Admin*](/getting-started/common-topics/nats-admin.md)*,* [*Tracking*](/getting-started/common-topics/tracking.md)

NATS provides you with the ability to create linkcodes with specific information for tracking purposes.

## Generating Linkcodes

NATS Admins can create linkcodes using the "Generate Linkcode" tool which can be found in the "Tools" Admin in NATS.

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

To generate a Linkcode select the NATS Code and click "Decode."

## Related Article

{% content-ref url="/pages/3XhkVQQAzC25zmkoF7qm" %}
[Decode Linkcode](/nats-admin/tools/decode-linkcode.md)
{% endcontent-ref %}

{% content-ref url="/pages/PkcHlvcNnFhznKHnZOg6" %}
[NATS Code](/using-nats/nats-admin-features/linkcodes/nats-code.md)
{% endcontent-ref %}


---

# 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.toomuchmedia.com/nats-admin/tools/generate-linkcode.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.
