GitHub Integration Setup Guide (Optibot) — Optimal Docs

GitHub Integration Setup Guide (Optibot)

This guide walks you through how to install and configure Optibot — Optimal AI’s secure AI code review agent — directly within your GitHub workflow.

Prerequisites

Before you begin, ensure you have:

Step 1: Sign Up & Install the GitHub App

  1. Visit the Sign-Up Link — Begin by signing up through the Optibot signup link. This activates your free trial (unlimited repos, PRs, and usage during trial).

  2. Authorize the GitHub App Installation — During onboarding, you’ll be prompted to install the Optibot GitHub App:

    • Select the organization and repositories where you want Optibot active.
    • Grant the required read/write permissions for pull requests and metadata.
  3. Select Repositories — Choose either:

    • All Repositories (for full org coverage), or
    • Specific Repos where you’d like Optibot to run.
  4. Wait for Context Indexing — Once installed, Optibot begins indexing your codebase to build context.

    • For small repos: indexing completes in minutes
    • For large repos or monorepos: indexing can take a few hours
    • Very large codebases may take up to a week

⏳ During indexing, the app may appear as “Installing…” — no action is needed during this phase.

Step 2: Optibot Starts Reviewing PRs

Once indexing is complete, Optibot begins functioning automatically:

Step 3: Customize with .optibot file (Optional)

Upon installation, Optibot opens a PR containing a default .optibot file. You can customize:

Once merged, these settings go live and will be applied on future PRs.

Optional Features to Turn On (Post-Setup)

Once you’re familiar with the baseline functionality, you can optionally enable:

Troubleshooting & Support

Security Notes