Connectors
GitHub Connector
Access knowledge from your GitHub Repositories
How 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.
- This guide shows the following steps in detail.
- 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 Onyx to continue updating the Onyx index once this one expires.
- Be sure to give the Token
Indexing
- Navigate to the Admin Dashboard and select the GitHub Connector
- For https://github.com/onyx-dot-app/onyx, it would look like: