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

# GitHub Bot

> Analyze PRs, run relevant flows, and get results with videos on your pull requests

Connect Autosana to your repositories. When you open a PR, Autosana analyzes the diff, selects and runs relevant flows, and posts results with videos as a PR comment.

<iframe src="https://www.veed.io/embed/e63be3a3-5838-4516-b4b6-13f92a9c90c6?watermark=0&color=default&sharing=1&title=1" width="744" height="504" frameBorder="0" title="Apps" allow="fullscreen" allowFullScreen />

## How it works

1. You open a PR
2. Autosana analyzes the diff and selects relevant flows (editing or creating as needed)
3. Flows run in parallel as your build completes
4. Results are posted as a PR comment with videos and a GitHub Check

## Setup

1. Go to **[Settings > Integrations](https://autosana.ai/settings?tab=integrations)** and click **Install GitHub App**
2. Select your GitHub account/organization and choose repositories
3. Toggle **E2E Autopilot** per repo to automatically analyze and test PRs

Each repo also has a **Code Review** toggle for automatic AI code review on PRs — see [Code Review](/code-review). The two toggles are independent; enable both to get a review and test results on the same PR.

<Note>
  You need to be an admin of your Autosana organization to install the GitHub App.
</Note>

Set up the [GitHub Action for App Uploads](/ci-cd-integration) so Autosana can access builds for each PR.

## @autosana

Tag `@autosana` in a PR comment on any connected repository — no toggle needed. Ask questions, request specific tests, re-run failures, or adjust instructions. The agent responds as a PR comment.

## Managing Repositories

Go to **[Settings > Integrations](https://autosana.ai/settings?tab=integrations)** and click **Manage Installation** to add or remove repositories.
