--- title: GitHub icon: github description: Set up a GitHub Personal Access Token for the GitHub resource. --- ## Credentials ### 1. Create a Personal Access Token 1. Go to https://github.com/settings/tokens 1. **Generate new token (classic)** or **Fine-grained token** 1. For classic tokens, select scopes: - `repo` (read access to repositories) 1. For fine-grained tokens: - **Repository access**: select the repos you need - **Permissions**: Contents -> Read-only 1. Copy the token ### 2. Set Environment Variables ```bash # .env.development GITHUB_TOKEN=ghp_xxxx... ``` For Python configuration, see the [Python GitHub Setup](/python/setup/github) guide.