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

# GitHub Integration

> Enhance Annie's knowledge with your application and infrastructure code

<img className="block dark:block" src="https://mintcdn.com/anyshift/KPTPR-J9EhQ9FoTz/images/integration/github/github_app_integration.png?fit=max&auto=format&n=KPTPR-J9EhQ9FoTz&q=85&s=54ddbcf330e8916016a4724da8a7c8e4" width="1238" height="325" data-path="images/integration/github/github_app_integration.png" />

Connect your GitHub repositories to Annie to enrich her understanding of your application and infrastructure code. This integration enables Annie to:

* Map your application code and Infrastructure as Code (IaC)
* Provide intelligent PR reviews
* Track code and infrastructure changes
* Map resource dependencies

## Setup Guide

<AccordionGroup>
  <Accordion icon="gear" title="Configuration">
    1. Go to the [Anyshift integrations page](https://app.anyshift.io/integrations)
    2. Navigate to the GitHub section
    3. Follow the setup instructions

    <img className="block dark:block" src="https://mintcdn.com/anyshift/KPTPR-J9EhQ9FoTz/images/settings/anyshift_settings_main.png?fit=max&auto=format&n=KPTPR-J9EhQ9FoTz&q=85&s=48f2dcf652a319cb74e991cb1eaa22ea" width="250" height="277" data-path="images/settings/anyshift_settings_main.png" />
  </Accordion>

  <Accordion icon="github" title="Repository Access">
    Choose which repositories to connect:

    1. Select your GitHub organization

    <img className="block dark:block" src="https://mintcdn.com/anyshift/KPTPR-J9EhQ9FoTz/images/integration/github/github_repository_selection.png?fit=max&auto=format&n=KPTPR-J9EhQ9FoTz&q=85&s=3b8a73a6b4dec4c828e2335f5eb6c68e" width="80%" data-path="images/integration/github/github_repository_selection.png" />

    2. Choose repositories containing application or infrastructure code

    <img className="block dark:block" src="https://mintcdn.com/anyshift/KPTPR-J9EhQ9FoTz/images/integration/github/github_final_setup.png?fit=max&auto=format&n=KPTPR-J9EhQ9FoTz&q=85&s=94127ac2c1e7bcdbcefbb5343771ef01" width="492" height="495" data-path="images/integration/github/github_final_setup.png" />

    **Tip**: Include all repositories with application or infrastructure code to maximize Annie's understanding of your environment.
  </Accordion>

  <Accordion icon="key" title="Optional: Enable write mode (for Propose Fix)">
    The default install (`anyshift-app`) is **read-only**. If you also want Annie to open pull requests via the [Propose Fix](/pages/product/propose_fix) feature, install the separate **Anyshift Agentic App** (`anyshift-agentic-app`).

    1. In the Anyshift integrations page, click **Enable write mode** in the GitHub section
    2. Authorize the Agentic App on the same organization
    3. Pick the repositories Annie is allowed to write to

    The two apps are independent: the investigation app keeps its read-only scope, and the agentic app's write permissions are isolated to repositories you explicitly select. Without the agentic app installed, Propose Fix CTAs do not appear and Annie cannot create branches, commits, or pull requests.
  </Accordion>
</AccordionGroup>

## Features Enabled

<CardGroup cols={2}>
  <Card title="Code Analysis" icon="code">
    Deep understanding of your application code, infrastructure definitions, and dependencies
  </Card>

  <Card title="Change Impact" icon="arrow-right-arrow-left">
    Comprehensive analysis of infrastructure changes and their effects
  </Card>
</CardGroup>

## Integration Capabilities

* **Code Understanding**: Annie analyzes your application and infrastructure code to build a comprehensive knowledge base
* **Change Detection**: Monitors repository changes to keep insights current
* **PR Integration**: Provides automated reviews and suggestions
* **Cross-Repository Analysis**: Understands dependencies across multiple repositories

This integration forms a key part of Annie's knowledge base, enabling her to provide more accurate and context-aware assistance across all features.

## Try Annie Today

Start building your infrastructure knowledge graph and unlock intelligent infrastructure management.

<CardGroup cols={2}>
  <Card title="Create Account" icon="user-plus" href="https://app.anyshift.io/">
    Create your Anyshift account
  </Card>

  <Card title="Request Demo" icon="phone" href="https://calendly.com/roxane-fischer/30-zoom-meeting?back=1">
    See Annie's knowledge graph in action
  </Card>
</CardGroup>
