> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://usehelloai.ferndocs.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://usehelloai.ferndocs.com/_mcp/server.

# Authentication

All API requests require an API key passed as the `X-AWR-Api-Key` header.

```bash
curl https://api.usehello.ai/receipts \
  -H "X-AWR-Api-Key: YOUR_API_KEY"
```

## SDK authentication

#### Python

```python
from usehelloai import HelloAI

client = HelloAI(api_key="YOUR_API_KEY")
# or set the HELLO_AI_API_KEY environment variable
client = HelloAI()
```

#### TypeScript

```typescript
import { UsehelloaiApiClient } from "usehelloai-demo";

const client = new UsehelloaiApiClient({
  apiKeyAuth: { apiKey: "YOUR_API_KEY" }
});
// or set the HELLO_AI_API_KEY environment variable
```

> **Info**
>
> Keep your API key secret — treat it like a password. Never commit it to source control. Use environment variables or a secrets manager in production.