Install
Requirements
- Node.js 18+ — the SDK uses the native
fetchAPI added in Node 18 - Works in all modern browsers (Chrome 95+, Firefox 90+, Safari 15+)
- Compatible with edge runtimes: Cloudflare Workers, Vercel Edge Functions, Deno
fetch implementation via the fetchImpl option:
Set up credentials
Verify your setup
Run this to confirm the SDK can connect and your credentials are valid:Connected! N app(s) found., you’re ready.
Self-hosted setup
If you’re running Vela on your own infrastructure, pass thebaseUrl option pointing to your instance:
TypeScript configuration
The SDK ships with full type declarations. No@types package is needed.
Recommended tsconfig.json settings: