Add the Codacy integration
The integration gives Astrolabe a Codacy account API token. It is what the Codacy plugin reads: the grade of a component and its issues.
You do it once, as an administrator.
Before you start
You need a Codacy account API token. In Codacy, you create it under your account › Access management › API tokens. This step was not checked on a live instance.
🔧 Add the integration
-
In the left sidebar, at the bottom, click Administration.
-
Under PLATFORM, click Company connections.
-
On the Codacy card, click Configure.
-
Top right, click Add Token.
-
Fill in the form:
Field What to enter Example Name A name for you, shown in the token list. Already filled with Codacy.CodacyAccount API token The account API token -
Click Test connection.
-
Click Add. The form warns: The instance will restart after confirmation. Wait a few seconds.
The token is in the list. This step was not checked on a live instance with a working token.
The optional setting
Under Optional settings, API address (self-hosted Codacy only) is the full address of your own
Codacy, with https://. Leave it empty to use app.codacy.com.
✅ That's it!
Next: Show Codacy on a component.