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.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Stash","colors":{"primary":"#3c78ec","light":"#3c78ec","dark":"#3c78ec"},"logo":{"light":"https://mintcdn.com/stash/9o_KO0Lz9dj79wjO/logo/light.svg?fit=max\u0026auto=format\u0026n=9o_KO0Lz9dj79wjO\u0026q=85\u0026s=c88f5afa88469af1a57d15157354ba9d","dark":"https://mintcdn.com/stash/9o_KO0Lz9dj79wjO/logo/dark.svg?fit=max\u0026auto=format\u0026n=9o_KO0Lz9dj79wjO\u0026q=85\u0026s=09891c8771acfa8ecb81999229aa50fc"},"favicon":"/favicon.svg","navbar":{"links":[{"label":"Support","href":"https://cal.com/nozdemir/stash-onboarding-support"}],"primary":{"type":"button","label":"Get Started","href":"https://usestash.com/get-started/"}},"footer":{"socials":{"x":"https://x.com/use_stash","linkedin":"https://www.linkedin.com/company/usestash/"}},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"stash","hasAudioNarration":false,"actualSubdomain":"stash","customDomains":["docs.usestash.com"],"gitSource":{"type":"github","owner":"stashlabs","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a21e75ff325d2bf10061f92","collectionId":"ed2454da-0f76-4dd9-9a95-0144225bcc4e","schemaVersion":"v2"},"entitlements":{},"buildId":"6a21e75ff325d2bf10061f92:success","clientVersion":"0.0.3918","searchFilterCounts":[{"language":"default","tag":"Documentation","count":23},{"language":"default","tag":"Data Sources","count":13},{"language":"default","tag":"Using Stash","count":5},{"language":"default","tag":"Stash MCP (Beta)","count":4},{"language":"default","tag":"Getting started with Stash MCP","count":4},{"language":"default","tag":"Billing","count":3},{"language":"default","tag":"Getting started with Stash","count":2}]},"assistantConfig":{},"hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-branches-v2-autocommit","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-branches-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"teamspace","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"client-snapshot-docs-config","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"data-sources/github","slug":"/data-sources/github","pageMetadata":{"title":"GitHub","description":"Integrate GitHub with Stash to search, navigate, and understand code instantly using AI-powered context and insights.","icon":"github","href":"/data-sources/github"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Integrate GitHub with Stash to search, navigate, and understand code instantly using AI-powered context and insights.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={li:`li`,p:`p`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Note,OptimizedImage,Tip}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(Tip,{children:_jsx(_components.p,{children:`If you are using GitHub Enterprise, refer to the GitHub Enterprise documentation. For GitHub, follow the steps below.`})}),`\n`,_jsx(_components.p,{children:`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.`}),`\n`,_jsx(_components.p,{children:`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.`}),`\n`,_jsx(_components.p,{children:`When you connect your GitHub repository, Stash will:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Continuously index repositories and track changes in the codebase`}),`\n`,_jsx(_components.li,{children:`Map issues and queries directly to the most relevant code locations`}),`\n`,_jsx(_components.li,{children:`Provide precise file and line-level context instead of generic search results`}),`\n`]}),`\n`,_jsx(_components.p,{children:`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.`}),`\n`,_jsx(Heading,{level:`2`,id:`add-github-repositories-during-project-setup`,children:`Add GitHub repositories during project setup`}),`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`You need to be a GitHub organization owner to create a token with the necessary webhook permissions.`})}),`\n`,_jsx(_components.p,{children:`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:`}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/stash/9o_KO0Lz9dj79wjO/images/GitHub.png?fit=max\u0026auto=format\u0026n=9o_KO0Lz9dj79wjO\u0026q=85\u0026s=b28a9e572bd6b0bdd826f9b4e02e2ec7`,alt:`Github`,\"data-og-width\":`6750`,width:`6750`,\"data-og-height\":`3375`,height:`3375`,\"data-path\":`images/GitHub.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/stash/9o_KO0Lz9dj79wjO/images/GitHub.png?w=280\u0026fit=max\u0026auto=format\u0026n=9o_KO0Lz9dj79wjO\u0026q=85\u0026s=12f6645ca948608863e87c80cc2050e7 280w, https://mintcdn.com/stash/9o_KO0Lz9dj79wjO/images/GitHub.png?w=560\u0026fit=max\u0026auto=format\u0026n=9o_KO0Lz9dj79wjO\u0026q=85\u0026s=fd905df65d76b69c29ac06ccc42c0266 560w, https://mintcdn.com/stash/9o_KO0Lz9dj79wjO/images/GitHub.png?w=840\u0026fit=max\u0026auto=format\u0026n=9o_KO0Lz9dj79wjO\u0026q=85\u0026s=2fba681b873e880ffb8923558eb33053 840w, https://mintcdn.com/stash/9o_KO0Lz9dj79wjO/images/GitHub.png?w=1100\u0026fit=max\u0026auto=format\u0026n=9o_KO0Lz9dj79wjO\u0026q=85\u0026s=ff50d278f1cae3c48e972a7ff4be1448 1100w, https://mintcdn.com/stash/9o_KO0Lz9dj79wjO/images/GitHub.png?w=1650\u0026fit=max\u0026auto=format\u0026n=9o_KO0Lz9dj79wjO\u0026q=85\u0026s=0c7e6e96678cb4ae6c1f2db815da04d7 1650w, https://mintcdn.com/stash/9o_KO0Lz9dj79wjO/images/GitHub.png?w=2500\u0026fit=max\u0026auto=format\u0026n=9o_KO0Lz9dj79wjO\u0026q=85\u0026s=1fb021f6eeb219a017dafa25395dc6fc 2500w`}),`\n`,_jsx(_components.p,{children:`You can connect multiple repositories under the same project by repeating this step as needed before moving forward in the wizard.`}),`\n`,_jsx(Heading,{level:`2`,id:`add-github-issues-during-project-setup`,children:`Add GitHub issues during project setup`}),`\n`,_jsx(_components.p,{children:`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:`}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/stash/9o_KO0Lz9dj79wjO/images/GitHubIssues.png?fit=max\u0026auto=format\u0026n=9o_KO0Lz9dj79wjO\u0026q=85\u0026s=af691ac038009d6943f5fe6909736e5f`,alt:`GitHub Issues`,\"data-og-width\":`6750`,width:`6750`,\"data-og-height\":`3375`,height:`3375`,\"data-path\":`images/GitHubIssues.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/stash/9o_KO0Lz9dj79wjO/images/GitHubIssues.png?w=280\u0026fit=max\u0026auto=format\u0026n=9o_KO0Lz9dj79wjO\u0026q=85\u0026s=c361737236d66f670a9254120fd860a1 280w, https://mintcdn.com/stash/9o_KO0Lz9dj79wjO/images/GitHubIssues.png?w=560\u0026fit=max\u0026auto=format\u0026n=9o_KO0Lz9dj79wjO\u0026q=85\u0026s=997dc6d362edb0cefa8c7763c630bd7a 560w, https://mintcdn.com/stash/9o_KO0Lz9dj79wjO/images/GitHubIssues.png?w=840\u0026fit=max\u0026auto=format\u0026n=9o_KO0Lz9dj79wjO\u0026q=85\u0026s=7af9167a9c0a24fb2e03887935efb67b 840w, https://mintcdn.com/stash/9o_KO0Lz9dj79wjO/images/GitHubIssues.png?w=1100\u0026fit=max\u0026auto=format\u0026n=9o_KO0Lz9dj79wjO\u0026q=85\u0026s=199e60d3c502d25ad05e9e64b96e6298 1100w, https://mintcdn.com/stash/9o_KO0Lz9dj79wjO/images/GitHubIssues.png?w=1650\u0026fit=max\u0026auto=format\u0026n=9o_KO0Lz9dj79wjO\u0026q=85\u0026s=752bd2a33e7d4c9c9f3e2567ada4fd0f 1650w, https://mintcdn.com/stash/9o_KO0Lz9dj79wjO/images/GitHubIssues.png?w=2500\u0026fit=max\u0026auto=format\u0026n=9o_KO0Lz9dj79wjO\u0026q=85\u0026s=85a14ff54574a6a9b70407e3f44df350 2500w`}),`\n`,_jsx(_components.p,{children:`You can connect multiple issue trackers under the same project by repeating this step as needed before moving forward in the wizard.`}),`\n`,_jsx(_components.p,{children:`Once the project creation wizard is complete, Stash will begin analyzing all connected repositories automatically.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"GitHub","description":"Integrate GitHub with Stash to search, navigate, and understand code instantly using AI-powered context and insights.","icon":"github","href":"/data-sources/github"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Add GitHub repositories during project setup","slug":"add-github-repositories-during-project-setup","depth":2,"children":[]},{"title":"Add GitHub issues during project setup","slug":"add-github-issues-during-project-setup","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"stash","siteName":"Stash","title":"GitHub - Stash","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-07T09:59:10.232Z","originalFileLocation":"data-sources/github.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Integrate GitHub with Stash to search, navigate, and understand code instantly using AI-powered context and insights.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Stash\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/stash/C0vLJJRi9NuKSVG2/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/stash/C0vLJJRi9NuKSVG2/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/stash/C0vLJJRi9NuKSVG2/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/stash/C0vLJJRi9NuKSVG2/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/stash/C0vLJJRi9NuKSVG2/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/stash/C0vLJJRi9NuKSVG2/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/stash/C0vLJJRi9NuKSVG2/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/stash/C0vLJJRi9NuKSVG2/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/stash/C0vLJJRi9NuKSVG2/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"GitHub - Stash\">\u003cmeta data-mint-head property=\"og:description\" content=\"Integrate GitHub with Stash to search, navigate, and understand code instantly using AI-powered context and insights.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Stash\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.usestash.com/data-sources/github\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://stash.mintlify.app/_mintlify/api/og/v2?division=Data+Sources\u0026amp;title=GitHub\u0026amp;description=Integrate+GitHub+with+Stash+to+search%2C+navigate%2C+and+understand+code+instantly+using+AI-powered+context+and+insights.\u0026amp;theme=0debc3ebd87d27788289c536\u0026amp;signature=68ca024d1f3b55f3f90ede0017842d5369312025e317dc871e0641424633a5b0\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"GitHub - Stash\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Integrate GitHub with Stash to search, navigate, and understand code instantly using AI-powered context and insights.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://stash.mintlify.app/_mintlify/api/og/v2?division=Data+Sources\u0026amp;title=GitHub\u0026amp;description=Integrate+GitHub+with+Stash+to+search%2C+navigate%2C+and+understand+code+instantly+using+AI-powered+context+and+insights.\u0026amp;theme=0debc3ebd87d27788289c536\u0026amp;signature=68ca024d1f3b55f3f90ede0017842d5369312025e317dc871e0641424633a5b0\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/stash/C0vLJJRi9NuKSVG2/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Stash\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3c78ec\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.usestash.com/data-sources/github\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/data-sources/github.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.usestash.com/#organization\",\"name\":\"Stash\",\"url\":\"https://docs.usestash.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/stash/9o_KO0Lz9dj79wjO/logo/light.svg?fit=max\u0026auto=format\u0026n=9o_KO0Lz9dj79wjO\u0026q=85\u0026s=c88f5afa88469af1a57d15157354ba9d\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.usestash.com#website\",\"name\":\"Stash\",\"url\":\"https://docs.usestash.com\",\"publisher\":{\"@id\":\"https://docs.usestash.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.usestash.com/data-sources/github#webpage\",\"url\":\"https://docs.usestash.com/data-sources/github\",\"name\":\"GitHub\",\"description\":\"Integrate GitHub with Stash to search, navigate, and understand code instantly using AI-powered context and insights.\",\"dateModified\":\"2026-01-07T09:59:10.232Z\",\"isPartOf\":{\"@id\":\"https://docs.usestash.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.usestash.com/data-sources/github#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.usestash.com/data-sources/github#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Data Sources\",\"item\":\"https://docs.usestash.com/data-sources/data-sources-overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"GitHub\",\"item\":\"https://docs.usestash.com/data-sources/github\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.usestash.com/data-sources/github#article\",\"headline\":\"GitHub\",\"name\":\"GitHub\",\"description\":\"Integrate GitHub with Stash to search, navigate, and understand code instantly using AI-powered context and insights.\",\"url\":\"https://docs.usestash.com/data-sources/github\",\"mainEntityOfPage\":{\"@id\":\"https://docs.usestash.com/data-sources/github#webpage\"},\"dateModified\":\"2026-01-07T09:59:10.232Z\",\"publisher\":{\"@id\":\"https://docs.usestash.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.usestash.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Stash\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Stash","nav":{"global":null,"tabs":[{"tab":"Documentation","groups":[{"group":"Getting started with Stash","pages":[{"title":"What is Stash?","icon":"layer-group","href":"/what-is-stash"},{"title":"Create New Project","icon":"folder-plus","href":"/create-new-project"}]},{"group":"Using Stash","pages":[{"title":"Smart Search","icon":"magnifying-glass","href":"/using-stash/smart-search"},{"title":"Issue Resolution Assistance","icon":"robot","href":"/using-stash/issue-resolution-assistance"},{"title":"In your IDE","icon":"display-code","href":"/using-stash/ide"},{"title":"Stash GitHub App","icon":"github","href":"/using-stash/github-app"},{"title":"Inviting Team Members","icon":"users-medical","href":"/using-stash/invite-team-member"}]},{"group":"Billing","pages":[{"title":"Stash Plans","icon":"rectangle-pro","href":"/billing/stash-plans"},{"title":"Invoices \u0026 Payments","icon":"file-invoice-dollar","href":"/billing/payment"},{"title":"Plan Management","icon":"briefcase-blank","href":"/billing/plan-management"}]},{"group":"Data Sources","pages":[{"title":"Data Sources Overview","description":"Integrating Stash with your development tools","icon":"list","href":"/data-sources/data-sources-overview"},{"title":"GitHub","icon":"github","href":"/data-sources/github"},{"title":"GitHub Enterprise","description":"Connect GitHub Enterprise to Stash for secure, scalable code search and AI-driven developer assistance.","icon":"github","href":"/data-sources/github-enterprise"},{"title":"GitLab","icon":"gitlab","href":"/data-sources/gitlab"},{"title":"GitLab Dedicated","icon":"gitlab","href":"/data-sources/gitlab-dedicated"},{"title":"Bitbucket","icon":"bitbucket","href":"/data-sources/bitbucket"},{"title":"Bitbucket Data Center","icon":"bitbucket","href":"/data-sources/bitbucket-data-center"},{"title":"Jira","icon":"jira","href":"/data-sources/jira"},{"title":"Jira Data Center","icon":"jira","href":"/data-sources/jira-data-center"},{"title":"Confluence","icon":"confluence","href":"/data-sources/confluence"},{"title":"Confluence Data Center","icon":"confluence","href":"/data-sources/confluence-data-center"},{"title":"Google Calendar","icon":"calendar","href":"/data-sources/google-calendar"},{"title":"Outlook","icon":"calendar","href":"/data-sources/outlook"}]}]},{"tab":"Stash MCP (Beta)","pages":[{"title":"Stash MCP (Beta)","href":"/mcp/stash-mcp"}]}]},"title":"GitHub - Stash","buildId":"dpl_22zLaHtK6fmmSqApXTTP5tC7UBZn","deploymentId":"dpl_22zLaHtK6fmmSqApXTTP5tC7UBZn","dynamics":["a74be98ba7"],"chunks":["zoom-image-lightbox-BxIiCHya.js","PlusIcon-Br4qdG7I.js","lightbox-handle-r17bVUz3.js"]}