---
title: "How do I create a Personal Access Token (PAT) (classic) for GitHub?"
description: "Please see GitHub's documentation or follow the following steps to create a PAT: Go to your GitHub account settings Navigate to Developer settings and then Personal access tokens Click on Generate new token (classic) Give your token a relevant name and select the desired scopes for access, but at…"
category: "Frequently Asked Questions"
section: "General"
keywords: ["pat", "classic", "github personal", "personal access", "token", "generate", "authentication", "repo"]
source_url: "https://support.ketryx.com/hc/en-us/articles/21756997496717-How-do-I-create-a-Personal-Access-Token-PAT-classic-for-GitHub"
last_reviewed: 2026-06-11
---

# How do I create a Personal Access Token (PAT) (classic) for GitHub?

> **In short:** Please see GitHub's documentation or follow the following steps to create a PAT: Go to your GitHub account settings Navigate to Developer settings and then Personal access tokens Click on Generate new token (classic) Give your token a relevant name and select the desired scopes for access, but at…

Please see [GitHub's documentation](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#creating-a-personal-access-token-classic) or follow the following steps to create a PAT:

1. Go to your GitHub account settings
2. Navigate to Developer settings and then Personal access tokens
3. Click on Generate new token (classic)
4. Give your token a relevant name and select the desired scopes for access, but at least:
   - repo
   - read:user
5. Click Generate token and make sure to copy it immediately, as it won't be shown again

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 fine-grained Personal Access Token for GitHub?](how-do-i-create-a-fine-grained-personal-access-token-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)
