Skip to main content
Connect your app to GitHub to track pull requests, work with issues, and follow repository activity, either from one shared account or from each person’s own GitHub account. This connector lets your app work with the GitHub API. To sync your app’s code with a GitHub repository, use the GitHub integration instead, and to work on code that’s already on GitHub, use Base Code.

What you can do

Bring engineering work into your app’s workflows.

Track pull requests

Show which pull requests are open, who is reviewing them, and what is waiting, on a dashboard inside your app.

Work with issues

List and filter issues, and open a new one when something is reported in your app.

Follow repository activity

Bring commits, releases, and repository stats into the pages and reports your team reads.
Example prompts Describe the repository, what triggers the action, and any dynamic fields in the AI chat. For example:

Connecting GitHub

Connect GitHub so your app can read repository data and open issues.
You connect one account once, and everyone who uses your app shares that connection and its data.To add a shared GitHub connector:
  1. Click Connectors in your workspace sidebar.
  2. Search for GitHub API and click it.
  3. Select Shared connector, then click Next.
  4. Enter a Connection name.
  5. In Who can access, choose where the connection can be used: Apps and Super agent (the default), Apps only or Super agent only.
  6. Choose the scopes your app needs under Permissions:
    • Read-only: Your app can view data. This is the default.
    • Read & write: Your app can also send, create or change data. To manage issues and pull requests, choose this.
    • Custom: Select the optional permissions your app needs. Required permissions stay selected.
  7. Click Add connector, then sign in with the GitHub account you want to share.

Scopes and permissions

Scopes control what your app can do in GitHub.

You configure

For a shared connector, select the access your app needs under Permissions:
  • Read-only: Grants read:user and read:org, to read profile and organization data
  • Read & write: Adds repo, for full control of the repositories the connected account can access
  • Custom: Pick from the scopes below
For an app user connector, read:user, read:org, and admin:repo_hook are selected under Scopes. Remove any your app doesn’t need. Additional scopes starts empty. Use it for scopes not listed, one per line.
  • read:user: Read profile data
  • read:org: Read organization and team membership
  • user:email: Read the account’s email addresses
  • repo: Full control of the repositories the connected account can access
  • public_repo: Read and write public repositories
  • repo:status: Read and write commit statuses
  • repo_deployment: Read and write deployment statuses
  • repo:invite: Accept and decline repository invitations
  • admin:repo_hook: Create and manage repository webhooks
Access: Your app works with the repositories and organizations that the GitHub account authorizing the connection can access.

Using GitHub in a backend function

Once GitHub is connected, your backend functions can retrieve an access token and call the GitHub API directly. Base44 handles the OAuth flow and token storage.
  • For a shared connection, use getConnection() to retrieve the token.
  • For an app user connection, use getCurrentAppUserConnection() so each request uses the signed-in person’s token.

Shared connectors

Configure, deploy, and call a shared connection from a backend function.

App user connectors

Retrieve a per-user token and call the API as the signed-in person.