Configure JFrog GitHub Copilot Extension in IDE

JFrog and GitHub Integration Guide

The GenAI-powered research tool integrates JFrog Catalog with GitHub Copilot Chat, enabling developers to efficiently explore, manage, and get recommendations on open-source software packages. It speeds up dependency identification, optimizes package choices, reduces security risks, and boosts developer efficiency through AI-driven support.

Note

To ensure compatibility and access to the features of the JFrog Copilot extension, ensure that the GitHub Copilot Chat extension is updated to version 0.21 (released on October 2, 2024) or later. For more information about this extension, see the Changelog in the Visual Studio Marketplace.

To set up Copilot, follow these steps:

  1. Complete Authorization Process: Use the authorization link provided by the JFrog admin. If you don't have it or didn't save it, it should be similar to the following:

    https://beta-assistant-auth.jfrog.io/api/v1/oauth/github-redirect?platform_url=https://[Your JFrog platform]

    or

    https://beta-assistant-auth.jfrog.io/api/v1/oauth/github-redirect?installation_id=[github installation id]

    For more information, refer to Step 10 in Install the JFrog GitHub Copilot Extension.

    Note

    Ensure you are logged into your GitHub account with Copilot permissions.

    1. Click Authorize jfrog.

      JFrogBetaAutorizeGithub.png
    2. Authorization will continue to JFrog extension authorization.

      JFrogBetaAuthorize.png
    3. Once you click on Authorize App, you will be shown your JFrog Platform corporate login which requires you to login to complete an OAuth flow.

      Note

      If you do not have a JFrog platform, you can register for a free trial here: https://jfrog.com/start-free/

    4. Log in as directed. Once you have successfully completed login, the following message is displayed.

      jfrog-github-pilot-integration-success.png
  2. Install VS Code, Visual Studio IDEs, or go through GitHub.com.

  3. Install GitHub Copilot Extensions: From your IDE, download and install the following extensions:

    • GitHub Copilot

    • GitHub Copilot Chat

    GitHubCopilotExtensions.png
  4. Start Chatting with JFrog:

    1. Open your IDE and confirm you are logged into the correct GitHub account.

    2. Type @jfrog in the chat box to load the JFrog chat component.

      jfrog-beta-copilot-chat.png
    3. Start chatting!