Anthropic

Prerequisites

IP allowlist

In some cases, access to deployed resources may need to be restricted. If needed, follow the guidelines mentioned in the section above and use Arnica's IP addresses, as documented in the Ingress traffic section of the on Premise integrations page.

Installation process

Generate API key

  1. Log in to the Anthropic Dashboard.

  2. Under Manage, select API Keys.

  3. Click on + Create Key.

  4. Select the required workspace, provide a name for the key, and click Add.

  5. Copy the API key and store it securely.

Integrate with Arnica

  1. Navigate to the Integrations page in Arnica.

  2. Under Artificial Intelligence, locate Anthropic and click Connect.

  3. Paste the API key from the previous step and click Validate.

  4. Click OK.

  5. Choose an AI model. One will be selected by default, and we recommend keeping it for best functionality. You may switch to a different model if needed.

  6. Scroll down to the "Existing Integrations" section and confirm that Anthropic appears in the list.

User Experience

Arnica lets users choose when to trigger an AI recommendation request, keeping costs lower than executing on every finding.

To view a recommendation, go to the Code Risks page and select a SAST or IaC finding. Click the AI icon in the top-right corner of the details pane. The icon will spin while Arnica generates and validates the recommendation.

To generate an alternative recommendation, click the AI icon again.

The recommendation includes a code example followed by an explanation, ensuring the solution is clear for both developers and Arnica operators.

Last updated

Was this helpful?