- Go to Cloudflare Dashboard
- Navigate to AI Gateway
- Create new Gateway
- Go to Settings → API Tokens
- Create new API Token with AI Gateway permissions
``` CLOUDFLARE_API_TOKEN=your-token-here CLOUDFLARE_ACCOUNT_ID=your-account-id ```
``` CLOUDFLARE_API_TOKEN=your-token-here CLOUDFLARE_ACCOUNT_ID=your-account-id ```