1. Create a Proxy Key
Go to Settings
Navigate to app.meshai.dev/settings → Proxy Keys tab.
Create Key
Click “Create Proxy Key” and provide:
- Label: descriptive name (e.g., “production-claude-code”)
- Allowed models (optional): restrict which models this key can use
- Budget limit (optional): monthly spend cap in USD
2. Configure Your Agent
Method A: URL-Embedded Key (Simplest)
Embed the key in the base URL — works with tools that can’t set custom headers:Method B: Header-Based Key
Set theX-MeshAI-Key header and override the base URL:
3. Verify
Make a request through your agent. Check the dashboard — you should see:- The agent appear in the Registry
- Token usage in the Cost tab
- Request count in the Dashboard

