Anthropic

AI API key

Call Claude from any Windmill script, flow or app — and point Windmill AI at the same key so the code assistant and AI agent steps run on your own Anthropic account.

What you can do with Anthropic

Complete, deployable projects built around Anthropic — the fastest way to get something real running.

Set up in 3 steps

1

Create an API key

In the Anthropic Console, open API keys and create one. Copy it straight away — the key starts with sk-ant- and is shown only once.

2

Add the resource in Windmill

Open Resources, add a resource of type anthropic, and paste the key. Leave platform on standard unless you reach Claude through Google Vertex AI.

3

Point Windmill AI at it

In AI settings, at workspace or instance level, pick Anthropic as the provider and select the resource. The code assistant, the AI chat and AI agent steps then all run on your key.

Resource type

The shape of the credential every script on this page expects.

FieldTypeRequiredWhat it is
apiKeystringYes
base_urlstringNoOptional. Only needed to overwrite the default base URL. For google_vertex_ai: https://{region}-aiplatform.googleapis.com/v1/projects/{project_id}/locations/{region}/publishers/anthropic/models/
platformstringNoPlatform to use for Anthropic API.

Questions

Is my API key stored on the hub?

Never. It lives only in your own Windmill workspace, encrypted at rest.

Does this power Windmill's own AI features?

Yes. Select the resource in AI settings and the code assistant, AI chat and AI agent steps all run on your key and your choice of model.

Can I reach Claude through Google Vertex AI?

Yes. Set platform to google_vertex_ai and fill base_url with your project and region endpoint; the rest of the resource stays the same.

Do I need a Claude subscription?

No. API access is billed per token on the Console account and is separate from a Claude.ai plan.