Skip to main content
Select Actions to adjust the guide
Some actions may require additional configuration in the provider to be accessible. Choose the actions you need and the guide will be updated.
Action
Scope(s)
Loading actions…
Dynamic Guide URL
Scopes Selected
Separator
Owner privileges in your GitHub organization are required to generate a Personal Access Token with organization-level permissions.

Generating a Personal Access Token

Create a Personal Access Token to enable API access with your GitHub account.

1

Access Developer Settings

Sign in to your GitHub account and navigate to developer settings.

  • Click your profile photo in the upper-right corner
  • Select Settings from the dropdown
  • In the left sidebar, scroll down and click Developer settings
2

Navigate to Personal Access Tokens

Access the Personal Access Tokens settings.

  • In the left sidebar, click Personal access tokens
  • Select Tokens (classic) from the dropdown
3

Generate New Token

Create a new classic personal access token.

  • Click the Generate new token dropdown
  • Select Generate new token (classic)
  • Enter a descriptive Note for the token (e.g., StackOne Integration)
4

Set Token Expiration

Configure the token expiration period.

  • Select No expiration from the Expiration dropdown for long-term use
  • Note: For security, consider using a shorter expiration period and rotating tokens regularly
5

Select Required Scopes

Enables actions: Add Collaborator, Add Team Member, Add Team Repository, Cancel Workflow Run, Check Organization Membership, Create Deployment, Create Deployment Status, Create Git Reference, Create Issue, Create Issue Comment, Create Or Update File, Create Organization Repository, Create Pull Request, Create Pull Request Review, Create Pull Request Review Comment, Create Release, Create Team, Create User Repository, Delete Deployment, Delete File, Delete Git Reference, Delete Release, Delete Repository, Delete Team, Download Artifact, Fork Repository, Get Authenticated User, Get Branch, Get Commit, Get Git Reference, Get Issue, Get Latest Release, Get Organization, Get Organization Membership, Get Pull Request, Get Repository, Get Repository Content, Get Team, Get Unified Group, Get Unified Organization, Get Unified User, Get User, Get Workflow Run, Invite Organization Member, List Artifacts, List Authenticated User Organization Memberships, List Authenticated User Organizations, List Authenticated User Repositories, List Branches, List Code Scanning Alerts, List Collaborators, List Commits, List Dependabot Alerts, List Deployments, List Forks, List Issue Comments, List Issues, List Matching Git References, List Organization Members, List Organization Repositories, List Pull Requests, List Releases, List Secret Scanning Alerts, List Teams, List Unified Groups, List Unified Organizations, List Unified Users, List User Organizations, List User Repositories, List Users, List Workflow Jobs, List Workflow Runs, Merge Pull Request, Re-run Workflow, Remove Collaborator, Remove Organization Member, Remove Team Member, Search Code, Search Issues, Search Repositories, Star Repository, Trigger Workflow, Unstar Repository, Update Code Scanning Alert, Update Dependabot Alert, Update Git Reference, Update Issue, Update Organization, Update Pull Request, Update Release, Update Repository, Update Secret Scanning Alert, Update Team, Update User, Upload Release Asset

Choose the appropriate Classic OAuth scopes for your integration needs. The scopes below match the exact structure and grouping from GitHub’s token creation page.

6

Generate and Copy Token

Complete the token generation and store it securely.

  • Scroll to the bottom and click Generate token
  • Copy the displayed token immediately and store it securely
  • Warning: The token is shown only once and cannot be retrieved later
  • Format: ghp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Linking the Account from the Hub

1

Navigate to the Hub

Use one of the three Linking Account Methods to access the Hub.
2

Fill out the fields

Fill out the following fields using details from your provider:
  • Personal Access Token
3

Connect

  • Click Connect
  • If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider’s authorization flow.
  • Once authorization is successful, you will see a confirmation popup

If the account linking is successful, you will see the newly linked account in your Accounts page.