packages/kilo-docs/pages/automate/integrations.md
Kilo Integrations lets you connect your GitHub or GitLab account (soon Bitbucket) to enable advanced features inside Kilo Code. Once connected, Kilo can access your repositories securely, enabling features like Code Reviews, Cloud Agents, and Kilo Deploy.
| Platform | Integration Type | Details |
|---|---|---|
| GitHub | GitHub App | GitHub Setup |
| GitLab | OAuth or PAT | GitLab Setup |
Before connecting:
Go to your Personal or Organization Dashboard, and navigate to the Integrations tab.
GitHub will ask which repositories you want Kilo to access:
Click Install & Authorize to continue.
Once approved:
You can connect GitLab using OAuth or a Personal Access Token (PAT). Both GitLab.com and self-hosted GitLab instances are supported.
{% tabs %} {% tab label="OAuth (GitLab.com)" %}
{% /tab %} {% tab label="OAuth (Self-Hosted)" %}
For self-hosted GitLab instances using OAuth, you need to register an OAuth application first:
Kilo Codehttps://app.kilo.ai/api/integrations/gitlab/callbackapi, read_user, read_repository, write_repository{% /tab %} {% tab label="Personal Access Token" %}
api scopePAT tokens cannot be refreshed automatically. When your token expires, create a new one in GitLab and reconnect in Kilo.
{% /tab %} {% /tabs %}
Once your Git provider is connected, the following features are enabled in Kilo:
From the Integrations page, click "Manage on GitHub" to:
From the Integrations page:
Disconnecting from Kilo does not revoke OAuth tokens on GitLab's side. You can manually revoke them from GitLab → User Settings → Applications → Authorized Applications.
"I don't see my repositories." Ensure the KiloConnect App is installed for the correct GitHub org and that repo access includes the repositories you need.
"My organization blocks third-party apps." You may need an admin to approve installing GitHub Apps.
"Cloud Agents or Deploy can't access my repo." Revisit the GitHub app settings and confirm the app has the correct repo scope.
"No projects listed after connecting." Click the refresh button to sync projects from GitLab. Ensure your GitLab account has access to the projects you expect.
"Permission denied" errors. You need Maintainer role on the GitLab project for webhook and bot token creation.
"Token expired."
"Self-hosted connection issues."
https://app.kilo.ai/api/integrations/gitlab/callback