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

# Connect a repository

> Authorize the Entire GitHub App and choose which repositories to connect

Entire connects to your GitHub repositories to read checkpoint data. This page covers how to authorize the GitHub App, choose repos, and manage permissions.

<Note>
  The Entire GitHub App requests read and write access to repository contents and pull requests. Checkpoint data is created locally by the [Entire CLI](/cli/overview) and lives on a branch in your repo (`entire/checkpoints/v1`); you push that branch yourself with normal `git push`. See [Security & Privacy](/security) for the full picture.
</Note>

## Authorize the GitHub App

<Steps>
  <Step title="Sign in">
    Visit [entire.io](https://entire.io) and click **Sign in**, then **Sign in with GitHub**.
  </Step>

  <Step title="Authorize Entire">
    GitHub will ask you to authorize the Entire GitHub App for your personal account.

    <Frame>
      <img src="https://mintcdn.com/entire/fgG56b7zcMZgFdOf/images/github-auth-light.png?fit=max&auto=format&n=fgG56b7zcMZgFdOf&q=85&s=2dfdf53f0c446e17e59d8bcb0d8f67a5" alt="GitHub authorization screen" style={{ borderRadius: '0.5rem' }} width="1280" height="827" data-path="images/github-auth-light.png" />
    </Frame>
  </Step>

  <Step title="Land on Entire.io">
    After authorization you'll arrive on your [Dashboard](/web/dashboard).
  </Step>
</Steps>

## Choose which repositories to connect

After signing in, select which repositories Entire can access.

<Frame>
  <img src="https://mintcdn.com/entire/fgG56b7zcMZgFdOf/images/repo-selector-light.png?fit=max&auto=format&n=fgG56b7zcMZgFdOf&q=85&s=6d17f344c1f736e666d4214d438e19c9" alt="Repository selector" style={{ borderRadius: '0.5rem' }} width="1280" height="808" data-path="images/repo-selector-light.png" />
</Frame>

To add or remove repositories later:

1. Open **Repositories** in the entire.io sidebar
2. Click **Configure GitHub App access** — this jumps you to GitHub's app settings
3. Select repositories from GitHub's list, then **Save**

## Permissions

The Entire GitHub App requests these permissions:

**Repo**

| Permission                 | Purpose                                                                        |
| -------------------------- | ------------------------------------------------------------------------------ |
| Administration (read)      | Repository creation, deletion, settings, teams, and collaborators.             |
| Checks (read)              | Checks on code.                                                                |
| Commit statuses (read)     | Commit statuses.                                                               |
| Contents (read/write)      | Repository contents, commits, branches, downloads, releases, and merges.       |
| Pull requests (read/write) | Pull requests and related comments, assignees, labels, milestones, and merges. |

**Org**

| Permission     | Purpose                         |
| -------------- | ------------------------------- |
| Members (read) | Organization members and teams. |

<Warning>
  Entire requests write access to contents and pull requests as we test new features rolling out soon. This access will help validate functionality, workflows, and integrations ahead of upcoming launches. In current product flows, checkpoint data is created locally by the [Entire CLI](/cli/overview) and pushed by you with normal `git push` — Entire does not push code to your branches on your behalf today.
</Warning>

## Organization repositories

For repositories owned by a GitHub organization:

1. An organization admin must install the Entire GitHub App on the organization
2. Admins choose which repositories the app can access
3. Team members see repositories they have collaborator access to

Within an organization, checkpoints and sessions are visible to all repository collaborators by default.

## When you remove access

If you uninstall the Entire GitHub App or remove a repository from its access list:

* Entire stops syncing new checkpoints from that repository
* Existing checkpoint data already on entire.io remains visible to team members until you delete it
* The shadow branch (`entire/checkpoints/v1`) in your repo is unaffected because Entire did not create or update that branch

## Troubleshooting

If sign-in or authorization fails, see [Troubleshooting](/web/troubleshooting).

## Continue with

<CardGroup cols={2}>
  <Card title="Dashboard" icon="chart-line" href="/web/dashboard">
    See your activity across all connected repositories.
  </Card>

  <Card title="Troubleshooting" icon="wrench" href="/web/troubleshooting">
    Resolve auth and sync issues.
  </Card>
</CardGroup>
