> ## Documentation Index
> Fetch the complete documentation index at: https://docs.krait.io/llms.txt
> Use this file to discover all available pages before exploring further.

# GitHub

> Integrate GitHub with Krait to enable automated, continuous security scanning across your repositories. You can connect to GitHub using the GitHub app.

### Connecting Github

<Steps>
  <Step title="Open the GitHub Connect Popup">
    Navigate to the GitHub connect window and click **Connect with GitHub App** to begin the integration process.
  </Step>

  <Step title="Install the Krait GitHub App">
    You’ll be redirected to GitHub to install the **Krait GitHub App**. Choose whether to install it under your personal account or an organization you manage.

    <Frame>
      <img src="https://mintcdn.com/krait/nH1FrVSbEPQllhtP/integrations/images/github-accounts.png?fit=max&auto=format&n=nH1FrVSbEPQllhtP&q=85&s=9291117ce8765ba2a5c8f39a26ab4864" style={{ width:"280px",maxWidth:"100%" }} width="1288" height="844" data-path="integrations/images/github-accounts.png" />
    </Frame>
  </Step>

  <Step title="Select Your Account">
    Select the organization or personal GitHub account where you want to enable the integration.

    <Frame>
      <img src="https://mintcdn.com/krait/nH1FrVSbEPQllhtP/integrations/images/github-permissions.png?fit=max&auto=format&n=nH1FrVSbEPQllhtP&q=85&s=7a101a82f963660e7b7caf873504c9fc" style={{ width:"300px",maxWidth:"100%" }} width="1142" height="1490" data-path="integrations/images/github-permissions.png" />
    </Frame>
  </Step>

  <Step title="Choose Repositories">
    Pick the repositories you want Krait to access and scan. You may select specific repositories or grant access to all repositories.

    <Frame>
      <img src="https://mintcdn.com/krait/9ioPUQVgYHbGs9dJ/integrations/images/sync-repo.png?fit=max&auto=format&n=9ioPUQVgYHbGs9dJ&q=85&s=1b20103ba56635d704e44fb4fb99d4c6" alt="Sync Repo Pn" width="1568" height="1702" data-path="integrations/images/sync-repo.png" />
    </Frame>
  </Step>

  <Step title="Review and Confirm Permissions">
    Review the permissions requested by the Krait GitHub App and complete the installation.
  </Step>

  <Step title="Return to Krait">
    After installation, you’ll be redirected back to Krait where your repositories will now appear and be available for integration.
  </Step>
</Steps>

Congratulations! Your GitHub is now connected to Krait. You'll find vulnerabilities in your dashboard soon.

***

### Disconnecting Github

To disconnect GitHub from Krait, navigate to **Integrations** in the main sidebar and select **Version Control**. Locate GitHub among your connected integrations and click **Disconnect**. This action requires workspace owner permissions. Confirm the confirmation prompt to remove the integration. After disconnection, GitHub repositories will no longer be synced or scanned by Krait. GitHub can be reconnected from the Version Control section when desired.

<Note>
  You may need to uninstall the **KraitDev** app from your Github account manually.
</Note>
