> ## Documentation Index
> Fetch the complete documentation index at: https://nango-wari-integration-config-credentials-api.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Code Climate - How do I link my account?

## Overview

To authenticate with CodeClimate, you will need:

1. **API Key** - A key that grants Nango permission to interact with CodeClimate's API resources and services.
2. **Domain URL** - The API endpoint for your CodeClimate instance.

This guide will walk you through generating the API Key and obtaining the Domain URL.

## Prerequisites:

* You should have a registered account with CodeClimate. Create one on [CodeClimate's website](https://codeclimate.com/).
* Permission to generate an **API Key**.

## Step 1: Obtaining the Domain URL

* If you are using the **cloud version**, your domain URL is:
  ```
  api.codeclimate.com
  ```
* If you are using the **on-premise version**, your domain URL follows this format:
  ```
  {host-name}/api
  ```

## Step 2: Creating an API Key

1. From your Code Climate dashboard, hover over your **profile icon** in the top right corner. Click on **User Settings**.

<img src="https://mintcdn.com/nango-wari-integration-config-credentials-api/7oy4VnawCO7HMTjQ/integrations/all/codeclimate/codeclimate_select_user_settings.png?fit=max&auto=format&n=7oy4VnawCO7HMTjQ&q=85&s=c24b116fa0c30c8529e4bd57d7d4b332" width="1442" height="1564" data-path="integrations/all/codeclimate/codeclimate_select_user_settings.png" />

4. In the right sidebar menu, select **API Access**.

<img src="https://mintcdn.com/nango-wari-integration-config-credentials-api/7oy4VnawCO7HMTjQ/integrations/all/codeclimate/codeclimate_api_access.png?fit=max&auto=format&n=7oy4VnawCO7HMTjQ&q=85&s=d54e5f244bf7b5b62aef37d23c20efd8" width="1436" height="1574" data-path="integrations/all/codeclimate/codeclimate_api_access.png" />

5. Click on **Generate new token** in the top right corner.

<img src="https://mintcdn.com/nango-wari-integration-config-credentials-api/7oy4VnawCO7HMTjQ/integrations/all/codeclimate/codeclimate_generate_new_token.png?fit=max&auto=format&n=7oy4VnawCO7HMTjQ&q=85&s=f5dc7a66ddc24f8ecf7df45fc8811526" width="2476" height="808" data-path="integrations/all/codeclimate/codeclimate_generate_new_token.png" />

6. Enter a relevant **description** for the token and then click **Generate token** to create the API Key.

<img src="https://mintcdn.com/nango-wari-integration-config-credentials-api/7oy4VnawCO7HMTjQ/integrations/all/codeclimate/codeclimate_generate_token.png?fit=max&auto=format&n=7oy4VnawCO7HMTjQ&q=85&s=4a393623df2a36caf34255bdaa4bbff4" width="2476" height="808" data-path="integrations/all/codeclimate/codeclimate_generate_token.png" />

8. The generated token will be displayed on the screen. **Copy and store it securely**, as it will not be visible again after you leave the page.

<img src="https://mintcdn.com/nango-wari-integration-config-credentials-api/7oy4VnawCO7HMTjQ/integrations/all/codeclimate/codeclimate_copy_token.png?fit=max&auto=format&n=7oy4VnawCO7HMTjQ&q=85&s=1c871e2f803e71ea291a3525867ada96" width="2476" height="808" data-path="integrations/all/codeclimate/codeclimate_copy_token.png" />

**Note:** Ensure you store this key securely, as it will not be visible again after leaving the API Key page.

## Step 3: Connect Your CodeClimate Account

To authenticate using your API credentials, navigate to the CodeClimate authentication form in Nango.

Enter your credentials as follows:

* **API Key**: Paste your API Key from CodeClimate.
* **Domain URL**: Enter the appropriate domain URL (`api.codeclimate.com` for cloud users or `{host-name}/api` for on-premise users).

<img src="https://mintcdn.com/nango-wari-integration-config-credentials-api/7oy4VnawCO7HMTjQ/integrations/all/codeclimate/connect_ui.png?fit=max&auto=format&n=7oy4VnawCO7HMTjQ&q=85&s=34ded14af6be6cd88d8a6fcb69ff710f" width="1024" height="1402" data-path="integrations/all/codeclimate/connect_ui.png" />

Click **Connect** to complete the authentication.

**Note:** Ensure that you enter the credentials exactly as generated to avoid authentication errors.

```
```
