Quickstart Guide
Get your first repository connected and reviewed in 5 minutes.
Prerequisites
- A repository on GitHub, GitLab, or Azure DevOps
- Admin access to the repository (to install apps or configure webhooks)
- An account on Codity (or access to your organization's Codity instance)
Step 1: Sign In
- Navigate to your Codity dashboard
- Sign in using your GitHub, GitLab, or Azure DevOps account
- You'll be redirected to your provider for authentication
Step 2: Connect Your Repository
The process varies slightly by provider:
GitHub
- In the Codity dashboard, click "Add Repositories"
- You'll be redirected to GitHub to install the Codity GitHub App
- Select the organization or personal account
- Choose which repositories to grant access to
- Complete the installation
- Return to the Codity dashboard - your repositories will appear
GitLab
- In the Codity dashboard, click "Enable Repositories"
- You'll see a list of your GitLab repositories
- Click "Enable" next to the repository you want to connect
- Codity will register a webhook automatically
- The repository will appear in your dashboard
Note: You may need to configure a GitLab Personal Access Token first. See GitLab Setup for details.
Azure DevOps
- In the Codity dashboard, click "Manage Repositories"
- Select your Azure DevOps organization
- Browse available repositories
- Click "Enable" next to the repository you want to connect
- Codity will register webhooks automatically
- The repository will appear in your dashboard
Note: You may need to configure an Azure DevOps Personal Access Token first. See Azure DevOps Setup for details.
Step 3: Create a Test Pull Request
- Go to your repository on GitHub/GitLab/Azure DevOps
- Create a new branch
- Make a small code change (add a function, fix a typo, etc.)
- Open a pull request or merge request
Step 4: Wait for Review
Within 1-3 minutes, Codity will:
- Detect the new pull request/merge request
- Analyze the code changes
- Post review comments directly in the pull request/merge request
Step 5: Review the Feedback
- Open your pull request/merge request
- Look for comments from Codity
- Each comment will include:
- Issue type and severity
- Description of the problem
- Suggested fix (when applicable)
- Line references
Step 6: Provide Feedback (Optional)
- Click Like on comments that are helpful
- Click Dislike on comments that aren't useful
- Your feedback helps improve Codity's analysis
Verify It's Working
You can verify Codity is working by:
- Checking the pull request/merge request: You should see Codity comments
- Checking the dashboard: Your repository should show recent activity
- Checking webhooks (optional): In your repository settings, you should see Codity webhooks registered