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

# Codacy - How do I link my account?

## Overview

To authenticate with Codacy, you need:

1. **Account API Token** — an account API token from the Access management tab of your Codacy account.

This guide will show you how to create it.

### Prerequisites

* A Codacy account. If you don't have one, [sign up](https://www.codacy.com/) with your Git provider (GitHub, GitLab or Bitbucket).

### Step 1: Create an account API token

1. Sign in to [Codacy](https://app.codacy.com/login).
2. Open your account from the avatar menu and go to the **Access management** tab.
3. Under **Account API tokens**, click **Create API token**.

![Codacy Access management tab with the Create API token button under Account API tokens](https://mintcdn.com/nango/3ohUZ2BGK0GkOsa9/api-integrations/codacy/access_management_create_token.png?fit=max\&auto=format\&n=3ohUZ2BGK0GkOsa9\&q=85\&s=2246ddf534c8e9341128372166616f40)

4. Choose an expiration: 7, 30 or 90 days, or a custom date up to one year from creation. Then click **Create API token**.

![Codacy Set token expiration dialog with the expiration options and the Create API token button](https://mintcdn.com/nango/3ohUZ2BGK0GkOsa9/api-integrations/codacy/set_token_expiration.png?fit=max\&auto=format\&n=3ohUZ2BGK0GkOsa9\&q=85\&s=503a43f7f341cc6feb0d804bff7d5aeb)

5. The new token appears in the **Account API tokens** table. Click the token to copy it to your clipboard. Codacy shows the token value only once, right after you create it.

![Codacy Account API tokens table with the new token to click and copy](https://mintcdn.com/nango/3ohUZ2BGK0GkOsa9/api-integrations/codacy/copy_api_token.png?fit=max\&auto=format\&n=3ohUZ2BGK0GkOsa9\&q=85\&s=505739bb177b2509cac0872f9e9500ee)

### Step 2: Enter your account API token in the Connect UI

1. Open the form where you need to authenticate with Codacy.
2. Enter your token in the **Account API Token** field.
3. Submit the form, and you should be successfully authenticated.

![Codacy Connect UI form with the Account API Token field](https://mintcdn.com/nango/3ohUZ2BGK0GkOsa9/api-integrations/codacy/form.png?fit=max\&auto=format\&n=3ohUZ2BGK0GkOsa9\&q=85\&s=8f7587c19de54016ef4b21403d4766b4)

You are now connected to Codacy.


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