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

# GitHub

> Connect your GitHub data so your Agents can search and reference it through Knowledge Grounding

Connect your GitHub repositories so your Agents can access code, documentation, issues, and pull requests.

<Info>
  Once connected, your Agents can search repositories, code files, issues, pull requests, and documentation from GitHub through [Knowledge Grounding](/overview/platform/knowledge-grounding). You control which Connectors are active for each conversation: toggle GitHub on or off from the Knowledge Grounding filter in the chat input bar.
</Info>

## Setting up

<Steps>
  <Step title="Navigate to your Connections page">
    Go to Settings, then open the Connections tab. Find GitHub in the list of available connectors.
  </Step>

  <Step title="Authenticate with GitHub">
    You will be redirected to GitHub's OAuth flow. Sign in and authorize access to your repositories.
  </Step>

  <Step title="Select repositories">
    Choose which repositories your Agents should have access to. You can connect public and private repositories.
  </Step>

  <Step title="Complete the connection">
    Save your settings. Your Agents will begin indexing your repository content.
  </Step>
</Steps>

## What your Agents can access

Once connected, your Agents have access to repositories, code files, issues, pull requests, and documentation from GitHub. This content becomes searchable through Knowledge Grounding and is referenced when relevant to your requests.

Your GitHub data works alongside your other connected tools and [Vault documents](/overview/platform/vaults) to give your Agents a comprehensive view of your organization's information.

<Note>
  Having trouble setting up this Connector? Contact us at [support@trusapien.com](mailto:support@trusapien.com).
</Note>

<CardGroup cols={2}>
  <Card title="Knowledge Grounding" icon="magnifying-glass" href="/overview/platform/knowledge-grounding">
    How your Agents search your connected data
  </Card>

  <Card title="All Connectors" icon="plug" href="/connectors/overview">
    Browse all 39 available Connectors
  </Card>
</CardGroup>
