> ## Documentation Index
> Fetch the complete documentation index at: https://docs.heygarth.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Garth ai code review

***

# Garth AI Code Review Integration

## Overview

The Garth AI Code Review integration allows organizations to connect AI-powered code review metrics and monitor AI-assisted code review activity within the Engineering Metrics Dashboard.

This integration is available under the **Quality Integrations** module.

## Prerequisites

Before configuring the integration, ensure you have:

* Access to the Engineering Metrics Dashboard
* A valid Garth AI Code Review API Key
* Required permissions to configure integrations

## Step 1: Navigate to Garth AI Code Review Integration

1. Open the Engineering Metrics Dashboard.
2. Navigate to **Integration** from the left sidebar.
3. Open **Quality Integrations**.
4. Select **Garth AI Code Review**.

## Step 2: Create a New Connection

1. Click **Add Connection**.
2. The **Add Connection** window will appear.

You will be required to enter the following details.

### Connection Name

Enter a unique name for the connection.

Examples:

* Garth AI Production
* AI Code Review Metrics
* Engineering AI Review

This helps identify the connection later.

### API Key

Paste the Garth AI Code Review API Key into the **API Key** field.

Ensure the API key is valid and has the necessary permissions required for accessing metrics and usage data.

## Step 3: Test the Connection

After entering the required details:

1. Click **Test Connection**.
2. Wait for the validation process to complete.

### Expected Result

If the API key is valid, the connection test will succeed.

If the test fails, verify the API key and retry.

## Step 4: Save the Connection

1. Once the connection test is successful, click **Save Connection**.
2. The connection will now appear in the configured connections list.

## Viewing Metrics

After the integration is configured successfully, the platform will begin collecting AI code review metrics and analytics.

Users can monitor:

* AI-Assisted Code Review Activity
* Usage Trends
* Team Adoption Metrics
* Review Insights and Analytics

## Troubleshooting

### Connection Test Failed

#### Possible Causes

* Invalid API Key
* Missing Permissions
* Expired Credentials

#### Recommended Actions

* Verify the API key
* Re-test the connection
* Ensure the API key has the necessary access permissions

### Metrics Not Appearing

#### Possible Causes

* Data synchronization is still in progress
* Incorrect integration setup
* Connection configuration is incomplete

#### Recommended Actions

* Wait for synchronization to complete
* Verify connection details
* Re-test the connection if required

## Best Practices

### Use Clear and Descriptive Connection Names

Use meaningful connection names that clearly identify the environment or purpose of the integration.

### Periodically Verify API Key Validity

Regularly validate API credentials to avoid synchronization interruptions.

### Monitor Metrics Regularly

Review usage trends and adoption metrics periodically to understand AI code review utilization across teams.

### Store Credentials Securely

Ensure API credentials are managed securely and rotated according to organizational security policies.

## Summary

The Garth AI Code Review integration enables organizations to monitor AI-assisted code review activity directly within the Engineering Metrics Dashboard.

By configuring the API key connection, teams gain visibility into:

* AI Code Review Usage
* Adoption Trends
* Review Analytics
* Engineering Productivity Insights
