---
title: "How do I create a fine-grained Personal Access Token for GitHub?"
description: "Please see GitHub's documentation for more information on how to create a fine-grained PAT. NOTE: Make sure to choose the right organization as the Resource owner."
category: "Frequently Asked Questions"
section: "General"
keywords: ["token github", "personal access", "grained", "fine", "access token", "resource", "pat", "permissions"]
source_url: "https://support.ketryx.com/hc/en-us/articles/21757048657293-How-do-I-create-a-fine-grained-Personal-Access-Token-for-GitHub"
last_reviewed: 2026-06-11
---

# How do I create a fine-grained Personal Access Token for GitHub?

> **In short:** Please see GitHub's documentation for more information on how to create a fine-grained PAT. NOTE: Make sure to choose the right organization as the Resource owner.

Please see [GitHub's documentation](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#creating-a-fine-grained-personal-access-token) for more information on how to create a fine-grained PAT.

**_NOTE:_** Make sure to choose the right organization as the _Resource owner_. On the screenshot below, fine-grained Personal Access Token will grant certain permissions only on the repositories owned by the Ketryx organization. In your case, the _Resource owner_ will most likely be your organization (the company you are working for).

The following _Read-only_ permissions are required for the integration with Ketryx:

- _Contents_

- _Metadata_

- _Pull requests_

It should look like this:

This token will serve as the authentication method to fetch both Pull Request data and the Git repository for SOUP dependency analysis from GitHub.

When entering the authentication credentials in Ketryx, the username has no effect, but the password should be the PAT.

## Related articles

- [How do I create a Personal Access Token (PAT) (classic) for GitHub?](how-do-i-create-a-personal-access-token-pat-classic-for-github.md)
- [How can I use the Code Change Review (CCR) feature with GitHub?](how-can-i-use-the-code-change-review-ccr-feature-with-github.md)
- [What permissions does the GitHub Personal Access Token need?](what-permissions-does-the-github-personal-access-token-need.md)
- [How do I create a Personal Access Token for GitLab?](how-do-i-create-a-personal-access-token-for-gitlab.md)
- [How do I create a Personal Access Token for Azure DevOps?](how-do-i-create-a-personal-access-token-for-azure-devops.md)
