1. Install Capsule
Installcpsl. The package includes the Python API and the capsule CLI.
2. Authenticate
3. Create a project from a template
Use a production-shaped starter instead of a blank file:4. Install dependencies
If you haveuv:
uv:
5. Add secrets
Templates print the exact secret commands they need. Forquickstart:
6. Serve locally
7. Deploy
session.user.
Try another template
Next steps
- First Chat App for the message loop
- Add Data And State for session data and collections
- Add Pages for app UI
- Deploy An App for serve/deploy details
- CLI Reference for the full command surface