Background Agents and Bugbot require the Cursor GitHub app to clone repositories and push changes.

Installation

  1. Go to Integrations in Dashboard
  2. Click Connect next to GitHub
  3. Choose repository either All repositories or Selected repositories
To disconnect your GitHub account, return to the integrations dashboard and click Disconnect Account.

Permissions

The GitHub app requires specific permissions to work with background agents:
PermissionPurpose
Repository accessClone your code and create working branches
Pull requestsCreate PRs with agent changes for your review
IssuesTrack bugs and tasks that agents discover or fix
Checks and statusesReport on code quality and test results
Actions and workflowsMonitor CI/CD pipelines and deployment status
All permissions follow the principle of least privilege needed for background agent functionality.

Troubleshooting