Anthropic integration

What is Anthropic?

Anthropic is the AI company behind Claude, a family of large language models, and Claude Code, an agentic coding assistant that can read, write, and refactor code from natural-language prompts.

By integrating Buddy with Anthropic you can add the Claude Code action to your pipelines and let Claude review code, generate changes, or automate routine engineering tasks on every push, on a schedule, or on demand.

Setting up Anthropic integration

  1. Go to the Integrations tab and click New integration.

  2. Look up and click Anthropic.

  3. A configuration window will show up. Here you provide:

  • Name and ID of the integration
  • Scope - whether the integration is available across the whole Workspace, a single Project, or a specific Environment
  • Authorization method - either an API key or a Claude Code token (see below)
Info
You can adjust who can use the integration and where in the Permissions tab.
  1. Once done, click Add a new integration to finish configuration.

Authorization

The Anthropic integration supports two authorization methods. Pick the one that matches how you obtain credentials.

API key

Authorize with a standard Anthropic API key. This is the default option.

Image loading...Anthropic integration configuration with API key authorization

To obtain the key:

  1. Go to https://console.anthropic.com/settings/keys (also linked as Get API key in the form).
  2. Create a new key and copy its value.
  3. Paste it into the API KEY field - the value always starts with sk-ant-.

Claude Code token

Authorize with a token generated by the Claude Code CLI. Use this option when you sign in through a Claude subscription rather than a console API key.

Image loading...Anthropic integration configuration with Claude Code authorization

To obtain the token:

  1. Run claude setup-token in your terminal.
  2. Copy the generated token.
  3. Paste it into the TOKEN field.

Once the integration is added, you can use the Claude Code action in your pipeline and reference the integration by its ID.

Info

Last modified on Jun 16, 2026