# Connect a GitHub repository

> Link your GitHub repository to your Fern project for automated deployments.

Connect the Fern Dashboard to the GitHub repository containing your Fern documentation. Once connected, your docs automatically deploy when you push changes.

To complete the repo connection, you need:

* **Admin access** to the GitHub organization where the repository exists
* The [Fern GitHub app](https://github.com/apps/fern-api) installed on the repository

## Setup

<Steps>
  <Step title="Open the Dashboard">
    Navigate to the [Fern Dashboard](https://dashboard.buildwithfern.com/) and select your documentation site.
  </Step>

  <Step title="Connect your repository">
    In the **Source** section of the **Overview** tab, select **Connect repo** and follow the prompts to authorize the Fern API GitHub app.
  </Step>

  <Step title="Install the GitHub app">
    If you haven't already installed the [Fern GitHub app](https://github.com/apps/fern-api), you'll be prompted to install it on your repository. You must be an admin on the GitHub organization to complete this step.
  </Step>

  <Step title="Select your repository">
    Choose the repository containing your Fern documentation. Once connected, Fern automatically deploys your documentation when you push changes to the configured branch.
  </Step>
</Steps>