Get started
Quickstart
Sign in, connect a code host, choose repositories, let MergeHarbor index them, and get your first AI code review in about five minutes with the checklist.
The console walks you through these steps with a setup checklist. Most teams finish in about five minutes.
1. Sign in
Sign up at app.mergeharbor.com/signup with GitHub, GitLab, Azure DevOps or Bitbucket, or with an email address and password. Once your organization has single sign-on, members can sign in through it too. Accounts are linked only by email addresses that the provider has verified.
2. Join or create your organization
An organization holds your repositories, settings, members, and billing. Name it and you’re in: every new organization gets the Team plan free for 14 days, with no credit card. Choose a plan (Essentials, Team or Advanced) and monthly or annual billing any time under Billing → Plan: the card is collected by Stripe, nothing is charged before the trial ends, and the plan continues after it. If no one adds one, reviews pause when the trial ends and nothing is deleted. Teammates join through invitations from an organization administrator.
3. Connect a code host
| Code host | How you connect |
|---|---|
| GitHub, GitHub Enterprise Server | Install the MergeHarbor GitHub App on the accounts and repositories you choose |
| GitLab, GitLab Self-Managed | Connect with GitLab (OAuth), or a group or project access token |
| Bitbucket Cloud | Connect with Bitbucket (OAuth), or a workspace, project, or repository access token |
| Bitbucket Data Center | An HTTP access token |
| Gitea, Forgejo | An access token |
| Azure DevOps Services | Connect with Azure DevOps (Microsoft Entra ID), or a personal access token |
| Azure DevOps Server | A personal access token and your collection URL |
| Perforce Helix Core | A Helix Swarm user and ticket |
MergeHarbor registers webhooks for you and requests only the permissions it needs to read code and post reviews.
4. Choose repositories
Select the repositories MergeHarbor should review. New repositories are enabled automatically unless an administrator turns off Auto-enable new repositories.
5. Indexing
MergeHarbor builds a graph and search index of each repository in the background. Progress appears on the checklist and in the Index column under Repositories: Queued, Indexing with N of M files, then Indexed. Indexing resumes soon means a temporary problem interrupted indexing: MergeHarbor tries again by itself (after 15 minutes, then 1 hour, 6 hours and 24 hours), reviews keep running meanwhile, and Try now starts the next attempt right away. Needs attention shows what stopped indexing and what to do, for example reconnecting the code host; re-index once it is fixed. Empty repository means nothing has been pushed yet, and Not indexed means the repository was added without indexing (choose Start indexing from its ⋯ menu). The Health column shows — until the first index finishes.
Repositories are indexed by recent activity, so a large organization’s active code is ready first:
- A repository with a pull request or a push to its default branch in the last 30 days is indexed right away, most recently active first.
- One pushed in the last 180 days is indexed in the background after those (Indexes in the background).
- Older or archived repositories are indexed with their next push or pull request (Indexes on next activity).
Every enabled repository is reviewed either way: until its index is built, the review reads the files the pull request needs directly. To index every repository regardless of activity, turn on Index every repository under Repositories. Several pushes in quick succession are indexed once, at the newest commit.
After the first pass, only changed files are processed. If a run failed and is waiting to retry, Re-index changes starts it right away. When the default branch changes on your code host, MergeHarbor follows it on the next fetch.
6. Your first review
Open a pull request, or choose an open one under Review a pull request now. Reviews work before indexing finishes; the summary notes when less codebase context was available.
What a review contains
- A summary of the change and a confidence score from 1 to 5.
- Inline comments on the exact lines, each with severity, category, confidence, and a suggested fix where one applies.
- A status check you can require before merging.
Next steps
- Tune strictness, categories, and filters in Configure reviews.
- Teach MergeHarbor your conventions with Rules and learning.
- Invite your team from Settings → People (Invite your team).