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

# Private Git

> `ale` supports SSH authentication to deploy code from private repositories across various platforms including GitHub, GitLab, Bitbucket, and others.

***

## Generate Deploy Key

<Frame>
  <img className="block rounded-md" src="https://files.cloudtype.io/ale-docs/developers/images/en/06_04.png" />
</Frame>

> Click <Icon icon="circle-plus" iconType="solid" size={15} color="2396F1" /> or press `⌘ + K` to open the deployment modal and select **Deploy Git Repository** and under the Git URL tab, paste your repository's **Git URL(SSH)**. A Deploy Key will be automatically generated.

## Add the Deploy Key

### GitHub

<Frame>
  <img className="block rounded-md" src="https://files.cloudtype.io/ale-docs/developers/images/en/06_06.png" />
</Frame>

> Go to **Settings > Deploy keys** in your repository. Then click `Add deploy key` in the top right corner and paste the deploy key from `ale`.

### GitLab

<Frame>
  <img className="block rounded-md" src="https://files.cloudtype.io/ale-docs/developers/images/en/06_07.png" />
</Frame>

> Go to **Settings > Repository** in your repository. Under the **Deploy keys** section, click `Expand`, then `Add new key`, and paste the deploy key from `ale`.

### Bitbucket

<Frame>
  <img className="block rounded-md" src="https://files.cloudtype.io/ale-docs/developers/images/en/06_08.png" />
</Frame>

> Go to **Repository settings > Access keys** in your repository. Click `Add key` and paste the deploy key from `ale`.

## Deploy

### Select Language/Framework

<Frame>
  <img className="block rounded-md" src="https://files.cloudtype.io/ale-docs/developers/images/en/06_05.png" />
</Frame>

> Choose the preset that matches your repository.

<Tip>
  For static sites like React or Vue, select **Web Application**.
</Tip>

### Configure and Deploy

> For subsequent configuration and deployment steps, see the [Deploying with ale page](/en/developers/deploy#configure-and-deploy).
