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

# GitHub

> Connect your GitHub repositories to Decimal for AI-powered codebase search during support ticket investigation.

The GitHub integration connects your repositories to Decimal, enabling the AI agent to search your codebase when investigating support tickets.

## What It Does

Once connected, Decimal:

* **Indexes your code** for intelligent search
* **Searches relevant files** when analyzing support tickets
* **References specific code** in its investigation responses
* **Stays up to date** by periodically re-indexing your repositories

## Connecting GitHub

1. **Navigate to Integrations**: Go to the **Integrations** page in the sidebar.
2. **Click GitHub**: Click on the GitHub integration row. You'll be redirected to GitHub's OAuth authorization page.
3. **Authorize Decimal**: On GitHub, review the permissions and authorize the Decimal GitHub App for your organization.
4. **Select repositories**: After authorization, you'll be returned to Decimal where you can manage which repositories are indexed.

*Repository indexing runs automatically after initial connection. Large repositories may take some time to fully index.*
