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

# GitHub Connection

### Pull Requests & Best Practices

Each **task** corresponds to **one pull request**.

<Callout type="info" icon="code-branch" color="#2563EB">
  <strong>1 Task = 1 Pull Request</strong><br />
  Keeping one task per PR ensures organized commits and easier reviews.
</Callout>

Once the model generates code, the **Create PR** button becomes available — allowing you to open a pull request directly from the interface.

<Callout type="warning" icon="triangle-exclamation" color="#DC2626">
  The <strong>Create PR</strong> button appears only after the model has generated code.\
  If no code exists yet, the button will not be visible.
</Callout>

<Frame caption="Compyle Commit Interface">
  <img className="block dark:hidden rounded-2xl my-4 max-w-md mx-auto" src="https://mintcdn.com/compyle-01176785/ScdngifcjjAxbxJw/images/compyle-light-commit.png?fit=max&auto=format&n=ScdngifcjjAxbxJw&q=85&s=c2ef1dae7b21462e592487a49794ad1d" alt="Compyle Commit Light" width="403" height="369" data-path="images/compyle-light-commit.png" />

  <img className="hidden dark:block rounded-2xl my-4 max-w-md mx-auto" src="https://mintcdn.com/compyle-01176785/ScdngifcjjAxbxJw/images/compyle-dark-commit.png?fit=max&auto=format&n=ScdngifcjjAxbxJw&q=85&s=38a891fae35535b67249f9d5a2b3c550" alt="Compyle Commit Dark" width="403" height="369" data-path="images/compyle-dark-commit.png" />
</Frame>

<Callout type="info" icon="megaphone" color="#F59E0B">
  <strong>New Update</strong><br /><br />
  • You can now **commit manually** and push using **custom commit messages**.<br />
  • You can push new changes to an **existing PR** by selecting the files you want to include.<br />
  • A built-in **Editor** is now available for all new tasks, allowing you to freely edit and test your code inside Compyle.<br /><br />
  Learn more in the <a href="/features/editor">Editor</a> page.
</Callout>

***

### Review & Merge

After Compyle creates a **pull request (PR)**, review it on **GitHub** before merging.

<Frame caption="GitHub Pull Request View">
  <img className="block dark:hidden rounded-2xl my-4" src="https://mintcdn.com/compyle-01176785/KJ2BcQNrBoDXYyxX/images/tempimage.png?fit=max&auto=format&n=KJ2BcQNrBoDXYyxX&q=85&s=c9d818713fce98769fd5a798984e5753" alt="GitHub Pull Request Light" width="1882" height="294" data-path="images/tempimage.png" />

  <img className="hidden dark:block rounded-2xl my-4" src="https://mintcdn.com/compyle-01176785/KJ2BcQNrBoDXYyxX/images/githubtempimage.png?fit=max&auto=format&n=KJ2BcQNrBoDXYyxX&q=85&s=53b37f51d4ef6795f94e83f0568d779c" alt="GitHub Pull Request Dark" width="1882" height="294" data-path="images/githubtempimage.png" />
</Frame>

#### Reviewing the Pull Request

1. Go to your connected **GitHub account**.
2. Open the repository where Compyle created the PR.
3. Review the changes under the **Files changed** tab.
4. If everything looks good, click **Merge pull request**.

Merging the PR updates your codebase with Compyle’s generated code.

#### Downloading the Updated Code

After merging, you can access the updated project in two ways:

* **Using Git:**

```bash theme={null}
  git clone <your-repo-url>
```

* **Manually via GitHub:**

  1. Go to your repository on GitHub.
  2. Click the green **Code** button.
  3. Select **Download ZIP**.

<Frame caption="Downloading Project ZIP from GitHub">
  <img className="block dark:hidden rounded-2xl my-4" src="https://mintcdn.com/compyle-01176785/KJ2BcQNrBoDXYyxX/images/github-download-light.png?fit=max&auto=format&n=KJ2BcQNrBoDXYyxX&q=85&s=beef3ba3cea76d18d67f6374dd00da22" alt="Download ZIP Light" width="1522" height="672" data-path="images/github-download-light.png" />

  <img className="hidden dark:block rounded-2xl my-4" src="https://mintcdn.com/compyle-01176785/KJ2BcQNrBoDXYyxX/images/github-download-dark.png?fit=max&auto=format&n=KJ2BcQNrBoDXYyxX&q=85&s=04859df8c8d2d9ecfe5dd941eae71b70" alt="Download ZIP Dark" width="1522" height="672" data-path="images/github-download-dark.png" />
</Frame>

***

### Settings

In the **Settings** section, you can manage integrations and customize your Compyle workspace.

Currently, only **GitHub integration** is available, allowing you to connect repositories directly to Compyle for seamless development.
Additional integrations are coming soon.

You can also switch between **light** and **dark** themes in the settings panel to match your preference.

***

### Plans

Compyle offers three flexible plans designed for different usage levels — from new builders to professional developers.

<Callout type="info" icon="star" color="#F59E0B">
  We offer the <strong>best model per plan</strong>, providing premium access and credits that scale with your workflow.
</Callout>

<Columns cols={2}>
  <Card title="Billing & Plans" href="/billing/pricing" icon="credit-card" arrow="true">
    View plan details and pricing
  </Card>

  <Card title="Models" href="/features/models" icon="robot" arrow="true">
    Checkout different models
  </Card>
</Columns>
