---
title: GitHub
description: Connect your GitHub repositories to SurfSense
---

# GitHub Connector

Index your GitHub repositories, issues, pull requests, and documentation.

## Prerequisites

- A GitHub account
- Access to the repositories you want to connect

## Setup

1. Navigate to your Search Space settings
2. Click on **Add Connector**
3. Select **GitHub** from the list
4. Authorize SurfSense to access your GitHub account
5. Select the repositories you want to index

## What Gets Indexed

- Repository README and documentation
- Issues and issue comments
- Pull requests and PR comments
- Code files (configurable)
- Discussions

## Sync Frequency

The GitHub connector supports scheduled syncing to keep your content up to date.

