Skip to main contentHow it works
The Github Connector picks up all of the Pull Requests and Issues in a specified repository.
- It will index both Open and Closed PRs. This includes the Title and Summary.
- It will index Issues and comments both Open and Closed
- Includes certain other metadata such as the URL, creator, etc.
Setting up
Authorization
- This Connector uses a GitHub Access Token.
- Log in to GitHub.
- In the upper right corner, expand your profile and click on Settings
- On the bottom, go to Developer settings -> Personal access tokens -> Tokens (classic)
- Click on Generate new token
- Be sure to give the Token
repo
access so that it can access the PRs.
- Set any expiration time. A new token will have to be provided to Danswer to continue updating the Danswer
index once this one expires.
Indexing
- Navigate to the Admin Dashboard and select the GitHub Connector
- For https://github.com/danswer-ai/danswer, it would look like:
