How to Set Up AI Code Review in 5 Minutes
Step-by-step guide to installing Git AutoReview and reviewing your first Bitbucket PR with Claude, Gemini, or GPT.
Why AI Code Review?
Code reviews are essential but time-consuming. Teams spend 4-8 hours per week on manual code reviews. AI can help by:
- Catching bugs before human review
- Enforcing coding standards automatically
- Providing instant feedback on PRs
Prerequisites
Before you start, you'll need:
- VS Code 1.85.0 or higher
- Bitbucket Cloud or Server account
- API key for Claude, Gemini, or GPT
Step 1: Install the Extension
Open VS Code and install Git AutoReview:
1. Press Cmd+Shift+X (Mac) or Ctrl+Shift+X (Windows)
2. Search for "Git AutoReview"
3. Click Install
Or install via command line:
code --install-extension vitalii4reva.git-autoreviewStep 2: Add Your API Key
Open Command Palette (Cmd+Shift+P) and run:
Git AutoReview: Open SettingsAdd at least one AI provider key:
| Provider | Get Key | Best For |
|---|---|---|
| Claude | console.anthropic.com | Deep code understanding |
| Gemini | makersuite.google.com | Fast analysis |
| GPT | platform.openai.com | General purpose |
Step 3: Configure Bitbucket
Add your repository in settings:
Bitbucket Cloud:
{
"type": "cloud",
"workspace": "your-workspace",
"repo": "your-repo-slug"
}Bitbucket Server:
{
"type": "server",
"baseUrl": "https://bitbucket.company.com",
"projectKey": "PROJ",
"repo": "your-repo"
}Step 4: Review Your First PR
1. Click the Git AutoReview icon in the Activity Bar
2. Select a Pull Request from the list
3. Click "Review"
4. AI analyzes the code and shows suggestions
5. Approve or Reject each suggestion
6. Click "Publish" to post to Bitbucket
That's it! You've completed your first AI code review in under 5 minutes.
What's Next?
- Configure AI Models — Choose the best model for your needs
- Jira Integration — Verify acceptance criteria automatically
- Security & Privacy — Learn about BYOK and data protection
Ready to Try AI Code Review?
Install Git AutoReview and review your first PR in 5 minutes.