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

# Connect Gong to Caretta

> Create a Gong API key, allow Caretta’s IP address, and import your past Gong calls.

Connect Gong with an API key to import your past Gong calls into Caretta. Caretta imports the last 12 months of calls where you are the Gong call owner.

> [!NOTE]
>
> Caretta connects to Gong from one fixed IP address: **13.49.115.241**. If your company limits Gong API keys by IP address, add this address to the key.

## Before you begin

You need:

* an active Caretta account;
* a Gong user with the same email address as your Caretta account; and
* a Gong API key. Only a Gong tech admin can create one. If you are not a tech admin, send this page to your Gong admin.

## Create the API key

A Gong tech admin does these steps in Gong.

**1. Open the API page**

In Gong, open **Admin center**. On the **Settings** tab, select **API** under **Ecosystem**.

**2. Start a new key**

Select **Get API key**, then enter a name in **Key name**, for example "Caretta".

**3. Add Caretta’s IP address**

In **Trusted IPs**, enter `13.49.115.241`. If you leave this field empty, the key works from any network location.

**4. Copy the key**

Select **Get API key**. Copy the access key and the access key secret, then select **Done**.

> [!WARNING]
>
> Copy the access key secret before you select **Done**. Gong does not show it again. Keep the key private, because it gives access to your company's Gong data.

To add the IP address to a key that exists, open the same **API** page. Select **More actions** on the row of the key, then select **Edit**. Add `13.49.115.241` to **Trusted IPs** and select **Save changes**. Gong can take up to five minutes to apply this change.

Gong's guide has more detail: [Manage API keys](https://help.gong.io/docs/receive-access-to-the-api).

## Connect in Caretta

**1. Open Caretta’s Apps settings**

Sign in to Caretta, open **Settings**, then choose **Apps**.

**2. Open Gong**

Find **Gong** and open it.

**3. Save the key**

Paste the access key and the access key secret, then select **Save credentials**. Caretta checks the key with Gong before it saves the key.

Caretta then starts to import your past calls. The **Past calls** row in the Gong dialog shows the progress.

## Disconnect

In Caretta, open **Settings**, choose **Apps**, open **Gong**, and select **Disconnect**. To stop all access from the key, a Gong tech admin must also delete the key on the **API** page in Gong.

## Troubleshooting

| What Caretta shows | What to do |
| - | - |
| Gong rejected these credentials. | Paste the access key and the access key secret again, exactly as Gong showed them. If you do not have the secret, ask your Gong admin for a new key. |
| Gong blocked Caretta. Ask your Gong admin to allow Caretta's IP address for this key. | Ask your Gong admin to add `13.49.115.241` to **Trusted IPs** on this key. Wait five minutes, then save the key again. |
| Gong rejected your access key | This message shows in the **Past calls** row. The key no longer works for Caretta. Ask your Gong admin for a new key, or to add `13.49.115.241` to **Trusted IPs**. Then paste the key and select **Save key**. |
| No Gong user has your email | Caretta finds your calls by your email address. Ask your Gong admin to check the email address of your Gong user. It must be the same as your Caretta email address. |
| Couldn't reach Gong to check the key. | Try again in a moment. |
| Couldn't check the key right now. | Try again in a moment. |
| Too many Gong key checks. | Wait one minute, then try again. |

If the problem continues, [contact Caretta support](https://www.caretta.so/docs/support.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.