Skip to main content
GitHub is the world’s largest code hosting and collaboration platform, used by developers to manage repositories, track issues, and automate workflows. With BonData, you can connect to your GitHub repositories to read and analyze code, issue, and contributor data within Agent workflows.

GitHub Personal Access Token Setup

Follow these steps to create a Personal Access Token for BonData.

Step 1: Create a Personal Access Token

  1. Go to GitHub Settings → Developer Settings → Personal Access Tokens
  2. Click Generate new tokenGenerate new token (classic)
  3. Enter a note (e.g., BonData Integration)
  4. Select an expiration (or no expiration)
  5. Select scopes:
    • repo - Full control of private repositories
    • read:user - Read user profile data
  6. Click Generate token
  7. Copy the token - it starts with ghp_ and won’t be shown again

Step 2: Identify Your Repository

Find the owner and repository name from your GitHub URL:
  • URL: https://github.com/mycompany/myrepo
  • Owner: mycompany
  • Repository: myrepo

Step 3: Enter Credentials

Enter your Personal Access Token, owner, and repository name in BonData.

Required Fields

FieldDescription
Personal Access TokenGenerated from GitHub Settings → Developer settings → Personal access tokens
OwnerThe username or organization that owns the repository
RepositoryThe name of the repository to connect to