GitHub Enterprise Server, GitHub Enterprise Cloud with data residency, GitLab Self-Managed, Bitbucket Data Center, and Gitea require Greptile Enterprise access. Contact sales to enable them. Hosting your code provider and hosting Greptile are separate choices. Review credits and plan limits still apply.
Before you connect
An organization admin connects providers from Code Providers. Select the Greptile organization first, then select Add Provider or the provider’s Connect action. Connecting a provider does not enable reviews by itself. Link the organization, group, workspace, or project, then select and enable its repositories. After setup, open a pull request with automatic reviews enabled to check the connection.GitHub and GitLab
Follow the GitHub and GitLab quickstart to install the GitHub App or add a GitLab token, link your organization or group, and enable repositories. GitHub App webhooks are managed by the app. GitLab needs the webhook URL, secret, and events shown in Greptile. Copy those values from the setup screen. For GitHub Enterprise Server, GitHub Enterprise Cloud with data residency, or GitLab Self-Managed, select the corresponding Enterprise or self-managed provider in Code Providers and enter your instance details. Greptile must be able to reach the instance, and the instance must be able to send events to Greptile. Contact support for help with private network access.Bitbucket Cloud
- Open Code Providers and select Bitbucket Cloud.
- Select Install in Bitbucket and install the Greptile Forge app in your workspace. Use a Bitbucket account with permission to install workspace apps.
- Return to the setup panel. Enter the workspace slug or URL and open its Bitbucket settings.
- In Bitbucket, select Connect to Greptile and sign in to Greptile.
- Link the workspace to the selected Greptile organization.
- Select the repositories to review and enable them.
Installing the app is only the first step. You must also connect the workspace and enable repositories. If the app is already installed, continue with workspace connection; do not install it again.
Cursor Origin
Cursor Origin is available on all plans. The integration is in beta.- Open Code Providers and select Add Provider → Cursor Origin.
- In Cursor, choose the namespace and repositories that Greptile can access, then approve the app installation.
- Return to Greptile and select and enable the repositories to review.
- Open a pull request with automatic reviews enabled to check the connection.
Bitbucket Data Center
Use a dedicated bot account with admin access to each project you will connect.- Sign in to Bitbucket as the bot. Open Manage account → HTTP access tokens → Create token.
- Select Project admin and Repository write permissions. Create and copy the token. Use a user token, not a project or repository token.
- In Greptile, open Code Providers and select Bitbucket Data Center.
- Enter the instance URL and bot token. Include the instance base path, if present; do not include a project or repository path.
- Link the projects, then select and enable repositories.
- Repository push
- Pull request opened, source branch updated, modified, and reviewers updated
- Pull request comment added, merged, and declined
Gitea
Create a bot account with access to the organizations and repositories that Greptile will review.- Sign in as the bot and open User Settings → Applications.
- Create a token with Repository and Organization Access: All (public, private, and limited) and these permissions:
- issue: Read and Write
- organization: Read. Use Read and Write if Greptile will create an organization-level webhook.
- repository: Read and Write
- user: Read
- Set all other permissions to No Access. Generate and copy the token.
- In Greptile, open Code Providers and select Gitea. Enter the Gitea root URL and bot token.
- Link the Gitea organization and complete the webhook setup shown in Greptile. Make the bot an organization owner, or have an administrator configure webhooks in each repository.
- Select and enable repositories.
- Push
- Pull Request and Pull Request Sync
- Pull Request Comment, Pull Request Review, and Pull Request Review Request
- Issue Comment
Perforce (P4)
Greptile supports Perforce through P4 Code Review, formerly Helix Swarm, in on-premises deployments. This is not a Greptile Cloud connection. Contact sales@greptile.com to set up the deployment, service account, and depot paths. Greptile polls P4 Code Review for review activity. Pre-commit reviews use shelved changelists. After setup, use the Perforce configuration guide to add review settings at the Context used path shown in the review summary.When reviews do not start
- Confirm that the provider is connected to the correct Greptile organization and the repository is enabled.
- Check automatic review settings and filters in Code Review Settings.
- For Bitbucket Cloud, confirm both app installation and workspace connection are complete.
- For token-based providers, check token expiry, bot access, and webhook delivery results.
- For a private instance, check network access in both directions.