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

# Your website's code

> Connect GitHub so Leo can prepare website changes in your code, as a draft pull request you review.

If your website's code is on GitHub, Leo can make approved [website changes](https://docs.leoagents.io/using-leo/website-changes.md) in your code and open a draft pull request. You review and merge it yourself.

## Connect GitHub

1. Open **Settings**, then **Connections**, and find **Your website**.
2. Connect GitHub through Leo's GitHub App.
3. Choose the one repository that holds your website.

Leo confirms with your own GitHub sign-in that you can write to that repository, before it copies the code and again before it opens the pull request.

## What Leo does with it

* It copies the code into a closed copy with no network, and makes only the changes you approved there.
* It does not delete files, and it does not change settings, dependencies or build files.
* It adds a new file only for robots.txt or a sitemap.
* It opens a draft pull request on its own branch. Nothing is merged or deployed.

## Other website platforms

Leo can tell how your site is built, for example WordPress, Webflow or Shopify. For a platform other than GitHub, make the changes by hand or hand them to your coding agent.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.