Skip to main content

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 with your Git provider (GitHub, GitLab or Bitbucket).

Step 1: Create an account API token

  1. Sign in to Codacy.
  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
  1. 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
  1. 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

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 You are now connected to Codacy.