Skip to main content

GitHub

Connect GitHub to Deductive AI to enable reasoning over your code repositories. Once connected, Deductive can analyze code changes, track deployments, understand code relationships, and correlate code changes with incidents.

Overview

This guide walks you through connecting GitHub to Deductive AI. Once connected, Deductive can:
  • Analyze code changes and their impact
  • Track pull requests and deployments
  • Understand code relationships and dependencies
  • Correlate code changes with incidents and metrics
  • Search codebases using natural language

Create a GitHub App

Set up a GitHub App to generate OAuth credentials for Deductive AI.

Steps

  1. Sign in to GitHub
  2. In Settings > Developer settings > GitHub Apps
  3. New GitHub App
  4. Fill in the app name and description
  5. Set the app permissions as needed
  6. After creating, record the App ID
  7. Generate a client secret from the app settings
  8. The Client ID is shown in the app’s OAuth credentials section
Related Documentation: View GitHub App Registration Documentation

Required Fields

  • App ID (app_id): The unique identifier for your GitHub App
  • Client ID (client_id): The OAuth client ID for authentication
  • Client Secret (client_secret): The OAuth client secret for authentication

Field Reference

The following fields are used when configuring this integration:
  • App ID (app_id) - Your GitHub App’s unique identifier
  • Client ID (client_id) - OAuth client ID from your GitHub App
  • Client Secret (client_secret) - OAuth client secret from your GitHub App

What Deductive Can Do with GitHub

Once connected, Deductive AI can:
  • Code Analysis - Understand code structure, dependencies, and relationships
  • Change Tracking - Monitor commits, PRs, and deployments
  • Incident Correlation - Link code changes to incidents and errors
  • Natural Language Search - Search codebases using plain English
  • Impact Analysis - Understand how changes affect other parts of the system

Next Steps

Once your integration is connected: