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

# GitHub Copilot

> Use Depth AI directly within GitHub Copilot across multiple platforms

Depth AI seamlessly integrates with GitHub Copilot, allowing you to access AI assistance directly within your development environment. This integration is available across multiple platforms:

<CardGroup cols={3}>
  <Card title="VS Code" icon="code">
    Visual Studio Code editor
  </Card>

  <Card title="Visual Studio" icon="microsoft">
    Visual Studio IDE
  </Card>

  <Card title="JetBrains" icon="java">
    All JetBrains IDEs
  </Card>

  <Card title="GitHub.com" icon="github">
    GitHub web interface
  </Card>

  <Card title="GitHub Mobile" icon="mobile">
    GitHub mobile apps
  </Card>
</CardGroup>

## Getting Started

<Steps>
  <Step title="Prerequisites">
    <Card title="Complete GitHub Setup" icon="github" href="/integrations/github">
      Ensure you have completed the GitHub integration setup before proceeding
    </Card>
  </Step>

  <Step title="IDE Configuration">
    After setting up the integration, you may need to:

    * Restart your IDE
    * Wait a few minutes for the integration to activate
    * Ensure GitHub Copilot is properly installed in your IDE
  </Step>

  <Step title="Authorization">
    <Note>
      The first time you use Depth AI in Copilot, you'll need to complete a one-time authorization:
    </Note>

    1. Tag `@depthai` in the Copilot chat
    2. Click "Connect" in the authorization prompt

    <Frame>
      <img src="https://mintcdn.com/depthai/EGK_mLAbRrvUxRQF/images/copilot/auth.png?fit=max&auto=format&n=EGK_mLAbRrvUxRQF&q=85&s=89f72f16ea5b2f176c08dd12074e0e81" alt="GitHub Copilot authorization prompt" width="1035" height="886" data-path="images/copilot/auth.png" />
    </Frame>

    3. Approve the GitHub authorization request

    <Frame>
      <img src="https://mintcdn.com/depthai/EGK_mLAbRrvUxRQF/images/copilot/auth-redirect.png?fit=max&auto=format&n=EGK_mLAbRrvUxRQF&q=85&s=8cfec6df61b2f2e1eea771ec9bfdf033" alt="GitHub authorization page" width="895" height="1144" data-path="images/copilot/auth-redirect.png" />
    </Frame>
  </Step>

  <Step title="Configure Default Repository">
    After authorization, you'll need to set up your default repository in your Depth AI settings:

    1. Go to [GitHub Copilot Settings](https://app.trydepth.ai/new-settings/copilot) page
    2. Select the repository you want to use as context for your Copilot questions

    <Frame>
      <img src="https://mintcdn.com/depthai/EGK_mLAbRrvUxRQF/images/copilot/default.png?fit=max&auto=format&n=EGK_mLAbRrvUxRQF&q=85&s=50ebaf3f98be3f8512784fad77a84f8b" alt="Configuring default repository in Depth AI settings" width="1211" height="1035" data-path="images/copilot/default.png" />
    </Frame>

    This repository will be used as the primary context when you ask questions through GitHub Copilot.
  </Step>

  <Step title="Start Using">
    Once authorized, you can:

    * Tag `@depthai` in any Copilot chat
    * Ask questions about your code
    * Get AI-powered assistance directly in your development workflow

    <Frame>
      <img src="https://mintcdn.com/depthai/EGK_mLAbRrvUxRQF/images/copilot/copilot.png?fit=max&auto=format&n=EGK_mLAbRrvUxRQF&q=85&s=a6463b323657660055404e90058f0c6f" alt="Using Depth AI in GitHub Copilot" width="1005" height="1141" data-path="images/copilot/copilot.png" />
    </Frame>
  </Step>
</Steps>
