Back to tips
    How to Efficiently Manage Multiple GitHub Accounts

    How to Efficiently Manage Multiple GitHub Accounts

    Introduction

    Many developers have multiple GitHub accounts for personal projects and work. DevLoop Runner allows you to register multiple accounts and use them separately for different projects.

    Registering GitHub Tokens

    Steps

    1. Navigate to Settings page

      • Click "Settings" in the header
    2. Open GitHub Tokens section

      • Find the "GitHub Accounts" card
    3. Add a new token

      • Enter your GitHub account name
      • Enter email address
      • Enter Personal Access Token
      • Click "Add Token" button

    How to Get a Personal Access Token

    1. Log in to GitHub
    2. Settings → Developer settings → Personal access tokens → Tokens (classic)
    3. Click "Generate new token"
    4. Select required scopes:
      • repo (Full access to repositories)
    5. Generate and copy the token

    Using Multiple Accounts

    Selecting During Job Execution

    When executing a job on the Run page, you can select which GitHub account to use via radio buttons.

    Selection points:

    • Choose an account that has access to the target repository
    • Choose appropriately as it will be recorded in commit history

    Account Identification

    The "account name" must be your GitHub personal account name. Custom names are not allowed.

    Editing and Updating Tokens

    Registered tokens can be edited:

    1. Click the pencil icon for the token you want to edit on Settings page
    2. Update the necessary fields
    3. Click checkmark to save

    When updates are needed:

    • Token has expired
    • Email address changed
    • Replacing with new token with different scopes

    Security Best Practices

    Token Expiration

    • Use tokens with expiration dates when possible
    • Regularly update tokens
    • Delete tokens that are no longer needed

    Minimize Scopes

    Grant only the minimum required scopes:

    • repo: Required (this is the only scope needed)

    Access Management

    • Delete relevant tokens when leaving or transferring positions
    • Clean up unnecessary tokens after projects end

    Summary

    • Multiple account registration: Switch between personal/work accounts
    • Select during job execution: Choose appropriate account for the repository
    • Regular updates: Update tokens regularly for security
    • Clear naming: Use identifiable account names

    By properly managing multiple accounts, you can efficiently develop across various projects.

    Get Started with DevLoop Runner

    Auto-generate PRs from GitHub Issues. Let AI accelerate your development.