Integrate GitHub with Stash to search, navigate, and understand code instantly using AI-powered context and insights.
If you are using GitHub Enterprise, refer to the GitHub Enterprise documentation. For GitHub, follow the steps below.
Stash performs a full structural analysis of your repositories - tracking files, functions, and dependencies - and builds a map that connects issues and queries directly to the most relevant code locations.When an issue is assigned or a question is asked, Stash identifies the exact files and lines likely to require changes, eliminating guesswork and manual codebase digging.When you connect your GitHub repository, Stash will:
Continuously index repositories and track changes in the codebase
Map issues and queries directly to the most relevant code locations
Provide precise file and line-level context instead of generic search results
This allows developers to open an issue and immediately see where to start making changes, or ask Stash about a system and receive direct code references.
You need to be a GitHub organization owner to create a token with the necessary webhook permissions.
You connect GitHub repositories during the Project Creation Wizard in Stash. At the Repositories step, select GitHub from the dropdown and complete the form to continue the setup:You can connect multiple repositories under the same project by repeating this step as needed before moving forward in the wizard.
You connect GitHub Issues during the Project Creation Wizard in Stash. At the Issue Trackers step, select GitHub from the dropdown and complete the form to continue the setup:You can connect multiple issue trackers under the same project by repeating this step as needed before moving forward in the wizard.Once the project creation wizard is complete, Stash will begin analyzing all connected repositories automatically.