> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kodus.io/llms.txt
> Use this file to discover all available pages before exploring further.

# How to set up AI code review on GitLab

> Install and configure Kodus for GitLab projects to get automated AI code review on every merge request.

Kodus integrates with GitLab via OAuth and webhooks. Once configured, merge requests are reviewed automatically.

## Steps

1. **Create an account** at [kodus.io](https://kodus.io) or [self-host Kodus](/how_to_deploy/en/deploy_kodus/generic_vm)
2. **Connect GitLab** — authorize via OAuth during setup
3. **Configure webhooks** — follow the guided setup to enable merge request events
4. **Select projects** — choose which GitLab projects Kodus should review
5. **Open a merge request** — Kodus reviews it automatically

## What you get

* Automated reviews on every MR
* Comments posted directly in the merge request
* Customizable rules and suggestion controls
* Business logic validation against linked tasks

## Custom configuration

Drop a `kodus-config.yml` in your repo root to customize behavior per project.

For the full setup guide, see [GitLab OAuth](/how_to_deploy/en/platforms/gitlab/gitlab_oauth) and [GitLab Webhooks](/how_to_deploy/en/platforms/gitlab/gitlab_webhook).
