GuidesQuickstart

You’ll have Mesrai reviewing your first pull request in about five minutes. The flow:

  1. 1

    Create your workspace

    Sign up with email + password, or with Google, GitHub, or GitLab single sign-on.

  2. 2

    Connect your Git provider

    GitHub

    Two ways to connect — pick OAuth for cleaner audit trails:

    • OAuth (recommended): Click Connect via OAuth. GitHub redirects you to its consent screen.
      • ✅ Reviews post as a dedicated Mesrai bot account
      • ✅ Clean separation between human and AI comments
      • Owner-level access required on the org
      • Pick the repos you want Mesrai to see — adjust later
    • Token (PAT): Reviews post under your own user. See the GitHub Token setup guide.
    On GitHub Enterprise Server? Allowlist Mesrai’s IP 52.55.217.197 in your network firewall before you connect.
    GitLab

    Same OAuth-or-token choice as GitHub:

    • OAuth (recommended): Click Connect via OAuth — GitLab handles consent.
      • ✅ Reviews post as a dedicated Mesrai bot
      • Pick repos at connection time
    • Token (PAT): Reviews post under your user. See the GitLab Token setup guide.
    Running self-hosted GitLab? Allowlist Mesrai’s IP 52.55.217.197 in your firewall first.
    Bitbucket

    Connect with an app password:

    On Bitbucket Data Center (self-hosted)? Allowlist 52.55.217.197 in your firewall.
    Azure DevOps

    Connect with a PAT:

    On Azure DevOps Server? Allowlist 52.55.217.197 first.
  3. 3

    Pick repositories

    Tick the repos you want Mesrai to review. You can change the set anytime from settings.

  4. 4

    Trigger your first review

    Choose a pull request and ask Mesrai to review it. Comments land on the PR directly. After this one-off run, Mesrai automatically reviews every new PR you open.

  5. 5

    That's it 🔥

    Mesrai now sits on the webhook. Push a commit, open a PR — feedback shows up inline within seconds.

Next steps