GitHub App Setup

Connect Oplane to your GitHub repositories in three steps. Once set up, Oplane can automatically review pull requests for architectural security risks — or run on demand when you need it.

Prerequisites: You need admin access to your GitHub organization to install the Oplane GitHub App.

Step 1: Install the Oplane GitHub App

In your Oplane dashboard, go to Settings in the sidebar, then the Git tab. Click the Install GitHub App button in the top right corner.

Oplane Git Integration settings page showing the Install GitHub App button

You'll be redirected to GitHub where you choose your organization and select which repositories the Oplane Bot should have access to. You can grant access to all repositories or pick specific ones.

GitHub App installation screen showing repository selection and permissions

Permissions granted: Read access to code, issues, members, and metadata. Read and write access to checks and pull requests — this is how Oplane posts review comments on your PRs.

Step 2: Link Your GitHub Account

After installing the app, go back to SettingsGit in Oplane. Under Linked Accounts, click Link GitHub to authorize the Oplane Bot. This lets Oplane know which repositories you personally have access to.

GitHub authorization screen for Oplane Bot

GitHub will ask you to authorize Oplane Bot. Review the permissions and click Authorize Oplane Bot.

Oplane Git Integration page showing linked GitHub account

Step 3: Choose a Review Mode

Once your account is linked, you'll see your repositories listed under My Repositories. For each repository, choose a review mode:

Review every PR
Oplane automatically runs a security review on every new pull request. Best for repositories with active development.
On request only
Comment @oplane_review or oplane_review on a PR to trigger a review. Good for repositories where you want to review selectively.
Disabled
No security reviews for this repository. Use this for repositories you don't need to threat model.
Oplane Git Integration showing repository review mode selection

Tip: You can change the review mode for any repository at any time. Use the search bar to quickly find specific repositories if you have many.