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

# Quickstart

> Connect your repository to Gitar and get your first pull request review in under 5 minutes.

> [!NOTE]
>
> **5-minute setup.** Free 14-day trial, no credit card required.

By the end of this guide, you'll have a repository connected to Gitar and see it automatically review a pull request.

## Prerequisites

* Access to repositories on **GitHub**, **GitLab**, **Azure DevOps**, or **Bitbucket**, with permission to connect them to Gitar. See the [connection guide for your platform](https://docs.gitar.ai/connecting-code/platform-support.md#connect-a-platform) for required permissions.
* An **open pull request**, or a repository where you can create one
* For AWS CodeCommit, an **Enterprise plan** with preview access is required. Contact your enterprise account manager to request access before connecting repositories. See the [AWS CodeCommit setup guide](https://docs.gitar.ai/connecting-code/aws-codecommit.md) for requirements.

## Step 1: Create a Gitar account or sign in

Go to [Sign up for Gitar](https://app.gitar.ai/sign-up) and choose **GitHub**, **GitLab**, **Bitbucket**, or **Azure DevOps**. Follow the prompts to sign in with that provider and continue to Gitar.

If you already have a **Gitar account**, select **Sign in** instead.

> [!NOTE]
>
> **Microsoft sign-in may require admin approval**
>
> When signing up or signing in through Azure DevOps, your organization's Microsoft Entra policy may require administrator approval. The approval screen may identify the application as **SonarQube Cloud US**. Contact your Entra administrator to review the request.
>
> This approval applies to signing in to Gitar. After signing in, connect your Azure DevOps repositories using a dedicated service account and PAT, as described in the [Azure DevOps connection guide](https://docs.gitar.ai/connecting-code/azure-devops.md).

Gitar sign-up screen with GitHub, GitLab, Bitbucket, and Azure DevOps options and a Sign in link

After signing in to Gitar, continue to repository setup.

## Step 2: Connect your repository

Connect Your Code screen

AWS CodeCommit is also supported in preview. Once access is enabled, follow the [AWS CodeCommit setup guide](https://docs.gitar.ai/connecting-code/aws-codecommit.md) to connect your repositories.

> [tab] GitHub
>
> Select GitHub to add the Gitar GitHub App to your organization. You can grant access to **all repositories** or **select specific ones**.
>
> > [!TIP]
> >
> > You can change repository access at any time from your GitHub organization settings under **Installed GitHub Apps**.
>
> After you install the app, your repositories appear under **Connected Repositories**:
>
> Repositories connected in Gitar onboarding

> [tab] GitLab
>
> Connect with a personal access token from a dedicated GitLab user or service account. Dedicated users also work on Community Edition and instances without service accounts.
>
> Follow the [GitLab connection guide](https://docs.gitar.ai/connecting-code/gitlab.md) to create the token and grant repository access, then enter it in the Gitar dashboard.
>
> The screenshot below shows a connected GitHub repository as an example of the connected state. Connection steps differ by platform.
>
> Repositories connected in Gitar onboarding

> [tab] Bitbucket
>
> Connect your Bitbucket workspace by authorizing your account and installing the Gitar app. Follow the [Bitbucket connection guide](https://docs.gitar.ai/connecting-code/bitbucket.md) for workspace selection and installation steps.
>
> The screenshot below shows a connected GitHub repository as an example of the connected state. Connection steps differ by platform.
>
> Repositories connected in Gitar onboarding

> [tab] Azure DevOps
>
> Connect your Azure DevOps organization using a personal access token from a dedicated service account. Follow the [Azure DevOps connection guide](https://docs.gitar.ai/connecting-code/azure-devops.md) to configure permissions and select projects.
>
> The screenshot below shows a connected GitHub repository as an example of the connected state. Connection steps differ by platform.
>
> Repositories connected in Gitar onboarding

Once your repository appears under Connected Repositories, select **Next** at the bottom of the page to continue to integrations.

## Step 3: Optional - Connect integrations

Connect Jira or Linear to give Gitar context from your issues and automate issue management. Select **Go to Dashboard** to continue, whether or not you connect an integration. You can connect integrations later from settings.

Integrations step in Gitar onboarding

## Step 4: See Gitar in action

Once connected, Gitar runs an initial scan of your repositories. You have two ways to see it work:

* **Open a new PR.** Create a pull request with some changes in a connected repository. Gitar reviews the changes automatically.
* **Try Gitar on existing PRs.** In the Gitar dashboard, find the "Try Gitar on Your Open PRs" card and select **Start Review** beside the pull request you want Gitar to review.

Try Gitar on your open PRs card in dashboard

## Step 5: Review Gitar's feedback

Open your pull request on GitHub, GitLab, Azure DevOps, Bitbucket, or AWS CodeCommit. Within a few minutes, Gitar posts a **dashboard comment** there with an overview of its analysis.

The screenshot below shows Gitar's dashboard comment on a GitHub pull request. Appearance may vary by platform.

Gitar dashboard comment on a pull request

Here's what happens next:

* **CI fails.** Gitar analyzes the failure and posts a root cause. If auto-apply is enabled (or you ask for a fix), Gitar pushes a fix commit.
* **Code review.** Gitar posts inline review comments on the lines with issues, with a consolidated summary in the dashboard comment.
* **Verification.** Check the Verification section for results from rules, linked issue objectives, and other checks. Expand a section to see its details. Learn more about [Verification](https://docs.gitar.ai/features/code-review.md#verification).
* **Comment instructions.** Reply to Gitar's comment with natural language to ask for changes.

> [!NOTE]
>
> Gitar **never force-pushes** to your branch. All fixes are added as new commits so your history stays intact.

## Next steps

> [card] [Learn the basics](https://docs.gitar.ai/gitar-dashboard.md)
>
> Understand review findings and Verification results in Gitar's dashboard comment.

> [card] [Request fixes and ask questions](https://docs.gitar.ai/commands.md)
>
> Use pull request comments to ask Gitar for explanations or code changes.

> [card] [Add project context](https://docs.gitar.ai/configuration/repository-config.md)
>
> Give Gitar your repository's conventions and custom review instructions.

> [card] [Understand CI failures](https://docs.gitar.ai/features/ci-failure-analysis.md)
>
> Read Gitar's diagnosis of a failing build and learn how to request a fix.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.