These instructions are for self-hosted enterprise Matter AI deployments.

Github App Configuration

Once you have created your own GitHub App, you need to configure it for Matter AI. Below are the configuration values needed:
  • App Name
  • App ID
  • Client ID
  • Client Secret
  • Private Key (base64 encoded)
  • Webhook Secret
Remember to Base64 encode the private-key.pem, you can run base64 -i private-key.pem and enter the output in the Private Key input box under github app config
GitHub App Configuration

Review Configurations

Customize how Matter AI handles code reviews with the following settings:
Review Configurations

Enable PR Review Comments

When enabled, Matter AI will post detailed review comments on pull requests, highlighting potential issues and suggestions directly in the code diff.

Enable PR Review on Commits

When enabled, Matter AI will automatically review new commits pushed to pull requests, providing feedback on the latest changes.

Enable Language Rulesets in Review

When enabled, Matter AI will apply language-specific rules and best practices during code reviews, ensuring code quality and consistency. When enabled, Matter AI will search for similar code patterns across your codebase to identify potential duplications or reusable components.

Enable Lite Review

When enabled, performs a faster, less resource-intensive review that focuses on critical issues only.

Enable PR Description Generation

Enable PR Description as Comment

When enabled, the generated PR description will be posted as a comment instead of updating the PR description directly.

Enable Quality Recommendations in Summary

When enabled, includes code quality improvement recommendations in the review summary.

Enable Sequence Diagram in Summary

When enabled, generates and includes sequence diagrams in the review summary to help visualize complex interactions in the code.

Disabled Repositories

Mark repositories that Matter AI should not review automatically. Manual reviews can be triggered for these repositories using /matter commands.
Disabled Repositories

AI Provider Keys

Setup

AI Provider keys are your AI API keys stored securely in Matter AI. You can create and manage them in the Matter AI dashboard.
AI Provider Keys

Anthropic

To setup Anthropic, simply add your API key in the Matter AI dashboard. You can get your API key from Anthropic Console

OpenAI

To setup OpenAI, simply add your API key in the Matter AI dashboard. You can get your API key from OpenAI Console

Gemini

To setup Gemini, simply add your API key in the Matter AI dashboard. You can get your API key from Gemini Console

Vertex AI

To setup Vertex AI, you need to create a service account in Google Cloud Console and required details as below.
  • Project ID
  • Project Location (eg; us-central1)
  • Service Account JSON

Creating Service Account for Vertex AI

1

Create a new Service Account

Visit GCP Console for Service Accounts and create a new Service Account: https://console.cloud.google.com/iam-admin/serviceaccounts
Create a new Service Account
2

Configure the Service Account

Configure the Service Account with required name and role.
  • Name: matterai
  • Role: Vertex AI Colab Service Agent
Configure Service Account
Configure Service Account
3

Create a Key

Create a key for the service account and download the JSON file.
Create a Key
4

Add the details in Matter AI dashboard

Add the details in Matter AI dashboard.
  • Project ID
  • Project Location (eg; us-central1)
  • Service Account JSON
Add the details in Matter AI dashboard

RuleSets

Rulesets are your custom organization-specific AI rules for languages, security and repositories stored securely in Matter AI. You can create and manage them in the Matter AI dashboard.

Language Rules

Create or edit existing language rules in the Matter AI dashboard as per how AI should should review your codebase with specific instructions.
Language Rules

Security Rules

Create or edit existing security rules in the Matter AI dashboard as per how AI should should review your codebase with specific instructions.
Security Rules

IP Whitelisting

You can add MatterAI IP addresses to your Git provider firewall rules to ensure restricted access to API requests.
100.24.89.85
54.165.168.189