Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks.
1

Create an account and generate an API key

Log into Helicone or create an account. Once you have an account, you can generate an API key here.
2

Export your Anthropic base URL

export ANTHROPIC_BASE_URL=https://anthropic.helicone.ai/<your-helicone-api-key>
3

Log your request

In your terminal, replace “what is the meaning of life?” with your own prompt.
claude -p 'what is the meaning of life?'
4

Verify your requests in Helicone

With the above setup, any calls to Claude Code will automatically be logged and monitored by Helicone. Review them in your Helicone dashboard.