1. Get your API key
Navigate to the Upstash Console and create a new Box API key.
2. Install the SDK
3. Set Environment Variables
Add your Upstash Box API key:.env
4. Create a Box
lib/box.ts
5. Configure an Agent (optional)
To configure an agent for your box, pass the model you want to use and the provider API key:- Claude
- Codex