# Generating GitHub PAT

<figure><img src="/files/phOqyIiKbklQTpQi6Q8A" alt="" width="200"><figcaption><p>exile.watch logo</p></figcaption></figure>

{% hint style="info" %}
`exile.watch` packages utilize the `GitHub NPM registry`.

Working with the `GitHub NPM registry` requires tokens with `read` permission. Therefore, a `PAT` is needed, even if you only wish to access public repositories (a.k.a. public packages)
{% endhint %}

Instructions for generating a `GitHub PAT` (Personal Access Token) can be found [here](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#creating-a-fine-grained-personal-access-token).

Apart from naming your token, no additional modifications are necessary on your part.

Ensure that `Repository access` includes `Public Repositories (read-only)` checked.


---

# 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.exile.watch/development/generating-github-pat.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.
