> Index: https://quebragalho.dev/en/docs/llms.txt

# Anthropic SDK

Change the client's base URL and API key. The rest of the code stays the same.

- Protocol: /v1/messages

## In your code

- **Where to configure:** `base_url` without `/v1`: the SDK appends the route.
- **API key:** `api_key` from the `QUEBRAGALHO_API_KEY` variable.

[Full example](https://quebragalho.dev/en/docs/api/messages.md)

Read it in the browser: https://quebragalho.dev/en/docs/integracoes/anthropic-sdk
