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

# Connecting Your GitHub

> Push your Architect-generated app straight to your own GitHub repository and keep it in sync as you iterate.

## Why Connect GitHub?

Architect isn't a walled garden. If you connect your GitHub account, the full source code of any app you build can be pushed into a repository you own — so you can clone it, run it locally, collaborate with your team, or deploy it wherever you want.

## How to Connect

Inside any app you've built, click the **GitHub icon in the top-right corner** of the app view, then authenticate with your GitHub account.

<Frame>
  <img src="https://mintcdn.com/lyzr-636197f6/ovfCHnLxUzSFcJMI/images/app-github-icon.png?fit=max&auto=format&n=ovfCHnLxUzSFcJMI&q=85&s=4dafb5ec9f7fe4c2947b9cd1052988c7" alt="GitHub icon in the top-right corner of the Architect app view" width="2940" height="1608" data-path="images/app-github-icon.png" />
</Frame>

After signing in, GitHub will ask you to **authorize Lyzr Architect** to access your account. Approve the request to grant Architect permission to create and push to repositories on your behalf.

<Frame>
  <img src="https://mintcdn.com/lyzr-636197f6/ovfCHnLxUzSFcJMI/images/github-authorize.png?fit=max&auto=format&n=ovfCHnLxUzSFcJMI&q=85&s=c7a4446f30b088e32c61334f76f7c4a7" alt="GitHub authorization screen granting Lyzr Architect access" width="2940" height="1590" data-path="images/github-authorize.png" />
</Frame>

Once authorized, Architect creates a repository for your app and pushes the initial codebase to your account.

## Automatic Commits on Every Change

After GitHub is connected, you don't need to manually sync anything. Every change you make in Architect — whether it's refining an agent, tweaking the UI, or updating a prompt — is automatically pushed to your repository as a new commit.

<Info>
  This means your GitHub repo always mirrors the latest state of your app in Architect, giving you a full version history out of the box.
</Info>
