Skip to main content

How to integrate GitHub account?

Overview

To authenticate, you need:

  • Personal Access Token (PAT)

Step 1: Generate Personal Access Token

  1. Navigate to GitHub.com and sign in to your account
  2. Click your profile photo in the upper-right corner, then select Settings from the dropdown menu
Personal Bitbucket Settings
  1. In the left sidebar, scroll down and click Developer settings
Personal Bitbucket Settings
  1. In the left sidebar, under Personal access tokens, click Tokens (classic). For enhanced security, you can also use Fine-grained tokens (beta)

    Personal Bitbucket Settings
  2. Click Generate new token, then select Generate new token (classic)

    Personal Bitbucket Settings
  3. Configure Token Settings:

    • Note: Enter a descriptive name (e.g., "Project Integration API")
    • Expiration: Choose an appropriate expiration period. For security, avoid "No expiration". Recommended: 90 days or less
  4. Select Required Scopes:

    • repo – Full repository access
    • admin:repo_hook – Repository webhook management
    • admin:org_hook – Organization webhook management
    • read:user – Read user profile data
    • user:email – Access user email addresses
      Personal Bitbucket Settings
  5. Click Generate token. Copy the token immediately – it won't be shown again. Store it securely.

Personal Bitbucket Settings