> ## 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.

# Executive summary settings

Configure AI providers for generating executive summaries in G360.

# AI Model Connections

The **AI Model Connections** section allows administrators to configure the AI provider used by G360 to generate executive summaries. You can connect either **OpenAI** or **Sarvam AI** using their respective API keys.

Each connection requires a unique name and a valid API key for the selected provider.

## Accessing AI Model Connections

1. Navigate to **Settings** from the left navigation panel.
2. Open **Executive Summary Settings**.
3. Under **AI Model Connections**, click **Connect Source**.

This opens the **Add Connection** dialog.

## Selecting an AI Provider

The **Choose Your AI Provider** section displays the AI providers supported by G360.

Currently supported providers include:

<CardGroup cols={2}>
  <Card title="OpenAI">
    Connect using your OpenAI API key to generate executive summaries using GPT models.
  </Card>

  <Card title="Sarvam AI">
    Connect using your Sarvam AI API key to generate executive summaries using Sarvam AI models.
  </Card>
</CardGroup>

To continue:

1. Select the desired AI provider.
2. Click **Confirm Selection**.

The **Add Connection** dialog is displayed, where you can configure the connection details.

## Configuring an AI Connection

The **Add Connection** dialog allows you to provide the required information for creating a new AI model connection.

### Connection Name

The **Connection Name** uniquely identifies the AI connection within G360.

Enter a meaningful name that helps distinguish the connection from others.

**Examples:**

* OpenAI Production
* Executive Summary AI
* Sarvam AI Primary

### API Key

The **API Key** is used to authenticate G360 with the selected AI provider.

Enter the API key issued by the selected provider in the **API Key** field.

> Ensure that the API key is valid, active, and has the necessary permissions to access the required AI models.

The API Key field includes a visibility toggle, allowing you to show or hide the entered key while verifying its accuracy.

## Saving the Connection

After entering the required information:

1. Verify the **Connection Name**.
2. Verify the **API Key**.
3. Click **Save Connection**.

If the provided credentials are valid, the connection is successfully created and becomes available for generating executive summaries.

## Best Practices

<CardGroup cols={2}>
  <Card title="Use Descriptive Names">
    Use meaningful connection names to easily identify different AI connections across development, testing, and production environments.
  </Card>

  <Card title="Protect API Keys">
    Keep API keys secure and avoid sharing them with unauthorized users.
  </Card>

  <Card title="Validate API Keys">
    Ensure the API key is active and has the required permissions before saving the connection.
  </Card>

  <Card title="Review Connections">
    Periodically review configured AI connections and remove any that are no longer required.
  </Card>
</CardGroup>
