> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

## Resource: Set Up GitHub Integration

## Article: Set Up GitHub Integration

## Article Link: https://dev.wix.com/docs/build-apps/develop-your-app/git-hub-integration/set-up-git-hub-integration.md

## Article Content:

# Set Up GitHub Integration

<blockquote class="caution">

__Alpha:__
The [AI app builder](https://dev.wix.com/docs/build-apps/develop-your-app/build-with-ai/about-the-ai-app-builder.md) is currently in alpha. This feature is subject to change and may have bugs, issues, and limitations. We're actively improving it based on your feedback.

</blockquote>

## Connect to GitHub

Set up [GitHub integration](building-apps-with-ai/git-hub-integration/about-git-hub-integration) to connect an app project to a dedicated repository created in your GitHub account. This enables version control, collaboration, and the ability to edit the app in any external IDE.

To set up GitHub integration:

1. Click ![connect to GitHub icon](https://wixmp-833713b177cebf373f611808.wixmp.com/images/7d8c99e0bbac520a3e83e6dba4078b55.png) to open the GitHub integration menu.
2. In the menu, click **Connect to GitHub**. A new window opens.
3. Log in to GitHub, if needed. 
4. Select your GitHub account or organization, and then click **Install & Authorize**. After installation, the window closes.
5. The GitHub integration menu now shows your connected account and a repository name. You can type in a different name for the repository. After you choose a name, click **Create Repository**.
6. To create a local clone of the repository, click **Clone to your computer** in the menu.

> **Note**: GitHub integration only supports creating new repositories. You can't reconnect to an existing repository.

## Disconnect from GitHub

If you need to, you can disconnect an app from GitHub. When you do this, your app retains the code from the most recent commit to its GitHub repository's default branch. After disconnecting, the repository still exists in GitHub, but changes to it aren't reflected on the app.

To disconnect an app from GitHub:
1. Click ⋯ **More Actions** in the GitHub integration menu, and then click **Disconnect from GitHub**. A confirmation window opens.
2. In the confirmation window, click **Disconnect from GitHub**.

<blockquote class="important">

**Important:** 
Once you disconnect an app from its GitHub repository, you can't reconnect the app to that repository again. If you reconnect the app to GitHub later, a new repository is created.

</blockquote>

## See also

- [About GitHub Integration](building-apps-with-ai/git-hub-integration/about-git-hub-integration)