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

# GitHub Integration

> Connect GitHub to sync repositories, deploy docs, and trigger agents.

<img
  src="https://mintcdn.com/mudra-a1740181/wsIN1jPQ63PqP0rI/images/GithubIntegrationn.png?fit=max&auto=format&n=wsIN1jPQ63PqP0rI&q=85&s=8aa80a3a91c23d9ef1b7a59c8e8333dc"
  alt="GitHub integration card prompting install"
  style={{
borderRadius: '0.75rem',
margin: '1.5rem 0',
width: '100%',
maxHeight: '420px',
objectFit: 'cover',
}}
  width="4172"
  height="3892"
  data-path="images/GithubIntegrationn.png"
/>

## GitHub Integration

The GitHub integration lets Morphiq Labs’s agents ship changes to your codebase via pull requests instead of manual work.

This is especially useful for:

* Updating `llms.txt` or related AI-facing files
* Adding or adjusting structured data (schema)
* Making small technical tweaks that support AI visibility

You stay in control of review and deployment; Morphiq Labs provides the proposed changes.

***

## Prerequisites

To use the GitHub integration, you will need:

* A GitHub account
* A repository that backs your site (for example, your Next.js or other web framework repo)
* Permission to install and authorize the Morphiq Labs GitHub app

***

## Setup

1. In Morphiq Labs, go to **Integrations → GitHub**.
2. Click **Connect GitHub**.
3. Follow the authorization flow:
   * Select the organization and repository you want to connect.
   * Confirm the requested permissions (typically limited to creating pull requests).
4. Save the configuration.

Once connected, you can choose which agents are allowed to open PRs and for which repo(s).

***

## Security and access

Morphiq Labs only needs the minimal scopes required to:

* Read repository contents
* Create branches and pull requests

It does not merge PRs automatically.
