GitHub Discussions
Using GitHub Discussions as a source allows Kapa to pull Discussions from your GitHub repository. This allows Kapa to surface valuable information from conversations, extract insights, and provide answers based on community-driven troubleshooting tips and technical discussions.
Prerequisites
- A GitHub repository with Discussions enabled
- For private repositories, a personal access token with appropriate permissions
Data ingested
When you connect Kapa to GitHub Discussions, the following data is ingested:
- Discussion URLs
- Discussion titles and content
- Answers and comments
- User information (anonymized)
- Creation and last updated dates
Permissions required
The following permissions are required when using a personal access token for private repositories:
| Permission | Purpose | Security considerations |
|---|---|---|
| Discussions: read-only | Enables access to discussion threads and replies | Kapa cannot create or modify discussions |
We recommend using a fine-grained access token limited to only the repositories you want to connect to Kapa.