Skip to main content
Connect a Git provider once and every new pull request in your selected repositories gets an AI review automatically. New to Code Review? Read the overview first.

Prerequisites

  • A GitHub, GitLab, Bitbucket, or Azure DevOps account with repository access
  • Permission to install apps or create access tokens for your organization
  • A CloudThinker workspace

Connect a repository

1

Open Code Review

Go to Code Review from the navigation menu.
Code Review Onboarding
2

Start setup

Click Get Started with Code Review to open the setup wizard.
Code Review Setup - Select Provider
3

Choose provider

Select GitHub, GitLab, Bitbucket, or Azure DevOps as your Git provider.
Select Git Provider
4

Authenticate

Click Install GitHub App to begin the GitHub App installation.GitHub redirects you to select an organization and grant repository access. After you authorize, the wizard resumes automatically. Webhooks are registered by the GitHub App — no manual webhook configuration is needed.
Installing CloudThinker to a GitHub organization requires Organization Owner permissions. If you are not an owner, ask an owner to install the app.
5

Select repositories

Select the repositories you want to enable for code review and click Complete to finish setup.
Select Repositories
After setup, open repository settings to adjust auto-review, review mode, pipeline monitoring, and filters per repository.Success state: Your repositories appear in the Code Review dashboard — CloudThinker is now monitoring their pull requests and merge requests.
Setup Successful

Configure webhooks

GitHub and Bitbucket register webhooks automatically — no action is needed. GitLab and Azure DevOps require manual webhook configuration:
After connecting your GitLab account, configure a webhook in your GitLab project or group:
  1. Go to your project/group → SettingsWebhooks
  2. Paste the webhook URL shown in the setup wizard
  3. Enter the secret token provided
  4. Enable these triggers:
    • Merge request events
    • Comments
    • Pipeline events
  5. Click Add webhook

Create a pull request

1

Open your repository

Navigate to your connected repository on GitHub, GitLab, Bitbucket, or Azure DevOps.
2

Create a pull request

Create a new pull request with your code changes. CloudThinker detects the PR, analyzes the diff, and posts a summary comment plus inline comments — typically within 1–2 minutes, no manual trigger needed.
Create Pull Request
Findings cover bug detection (logic errors, null references, race conditions), security vulnerabilities (injection risks, hardcoded secrets), code quality (naming, complexity, duplication), and performance (inefficient queries, N+1 patterns).

Review the findings

1

Check status in CloudThinker

View the review status for all your pull requests in the CloudThinker dashboard.
Code Review Status
2

View findings on your Git provider

Open your pull request to see the AI-generated summary and inline code comments. Each comment includes a severity level (Critical, High, Medium, Low), an explanation of the issue, and a suggested fix.
View Summary
View Findings
Reply to @cloudthinker-ai on the PR to ask questions, request a re-review, or skip a review — see mention commands.

Review modes

Configure the review mode per repository and switch at any time in repository settings:
ModeDescription
FastQuick analysis, lower cost. Ideal for small PRs and rapid feedback.
AdvancedDeep analysis split across specialist agents for security, performance, correctness, and patterns. Best for critical repositories.

Pipeline monitoring

CloudThinker monitors your CI/CD pipelines for failures. When a pipeline fails, CloudThinker:
  1. Detects the failed pipeline run
  2. Fetches and analyzes the failed job logs
  3. Posts findings and suggested fixes directly on the PR
Pipeline monitoring can be toggled on or off per workspace and is enabled by default. For Azure DevOps, CloudThinker monitors build.complete events alongside pull request events (git.pullrequest.created, git.pullrequest.updated).

Filter configuration

Control which PRs and MRs CloudThinker reviews using per-repository filters:
  • Label filters: Include or exclude PRs with specific labels
  • Author filters: Include or exclude specific authors (useful for excluding bot authors)
  • Branch filters: Include or exclude branches matching specific patterns (filters by target branch — the branch being merged into)
Exclude filters are checked first. Include filters must all pass. PRs that match an exclude filter are marked as FILTERED and skipped entirely.

Incremental reviews

When you push new commits to an open PR, CloudThinker performs an incremental review — only the new changes are analyzed, not the entire PR. This keeps reviews fast and focused on what actually changed.

Next steps

Mention commands

Interact with the review bot from PR comments — re-review, ask questions, or skip a review

Leaderboard

Track team review activity and measure code quality improvements over time

Convention rules

Teach reviews your team’s coding conventions using files already in your repository

Notifications

Configure where code review findings are delivered