# GitHub and GitLab Connect GitHub or GitLab to use Cloud Agents and Bugbot with your repositories. ## How do I connect GitHub? Follow the setup steps in the [GitHub integration docs](https://cursor.com/docs/integrations/github.md). Both GitHub.com and GitHub Enterprise Server are covered. Once connected, you can run [Bugbot](https://cursor.com/help/ai-features/bugbot.md) on your pull requests and trigger [Cloud Agents](https://cursor.com/agents) from your repos. ## How do I connect GitLab? Follow the setup steps in the [GitLab integration docs](https://cursor.com/docs/integrations/gitlab.md). Both GitLab.com and self-hosted instances are covered. Once connected, you can run [Bugbot](https://cursor.com/help/ai-features/bugbot.md) on your merge requests and trigger [Cloud Agents](https://cursor.com/agents) from your repos. --- ## Sitemap [Overview of all docs pages](/llms.txt)