---
title: Connect a repository
published: true
tier: free
index: 2
---

# Connect a repository

Each Glue project publishes from one GitHub repository. You need an owner or admin role in Glue and a GitHub account that can read the repository.

1. In Glue, open **Create your first project**, or choose **New project** from the project menu.
2. If prompted, choose **Connect GitHub** and authorize access to your repository.
3. Enter a **Name**, choose your repository under **Source**, then select **Create project**.

Glue starts with the repository’s default branch. When you publish, you choose the branch and exact commit for that release. [Publish your first project](./publish-your-first-project.md)

For an existing project, open **Settings → General → Repository** to check or change the source. Choose **Save changes** after selecting a different repository.

If the repository is missing, check that it’s active on GitHub and that the account connected under **Account settings → Integrations** has access. Reopen the repository picker after updating access.
