> ## Documentation Index
> Fetch the complete documentation index at: https://hacktronai-changelog-5b138732.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# GitHub / GitLab

> Connect GitHub / GitLab to enable Code Review or link your existing Code Review seat.

## Prerequisites

First, make sure that your organization has an active GitHub or GitLab integration.

<Columns cols={2}>
  <Card title="Set up GitHub" icon="github" href="/platform/repositories/github">
    Connect GitHub and choose the repositories to review.
  </Card>

  <Card title="Set up GitLab" icon="gitlab" href="/platform/repositories/gitlab">
    Connect GitLab and choose the repositories to review.
  </Card>
</Columns>

## Link your GitHub / GitLab identity

To enable Code Review for an existing Hacktron account,
or to link an existing auto-assigned Code Review seat to a Hacktron account,
you need to link your GitHub / GitLab identity to your Hacktron account
so that Hacktron can recognize you on GitHub / GitLab.

<Steps>
  <Step title="Open Account page">
    Click on your organization name in the top left corner and go to
    **Account**.
  </Step>

  <Step title="Connect GitHub / GitLab">
    Scroll down to **Connected Accounts** and click on **Connect** next to
    **GitHub** or **GitLab**.

    <img src="https://mintcdn.com/hacktronai-changelog-5b138732/APr1kOfXqBiNxIGw/images/connected_accounts.png?fit=max&auto=format&n=APr1kOfXqBiNxIGw&q=85&s=8f32edb2995abf21756d7207b873b9ea" alt="Connected Accounts" width="932" height="408" data-path="images/connected_accounts.png" />
  </Step>

  <Step title="Authorize Hacktron">
    Sign in to GitHub or GitLab and approve the requested access.
  </Step>

  <Step title="Return to Hacktron">
    After authorization, Hacktron redirects you back to **Account**.
  </Step>
</Steps>

Next, read about how feedback you give Hacktron improves future reviews.

<Card title="Findings and feedback" icon="message-dots" href="/code-review/findings-feedback">
  Understand how feedback you give Hacktron improves future reviews.
</Card>
