Installation
Install @trickest/sdk, Node version requirements, and environment variables.
On this page4
Requirements
- Node.js 18+ (
engines.nodeis>=18) - A Trickest API token
- npm, pnpm, or bun
Install
The package is versioned 1.0.0 and targets the public npm registry. Install when it is available for your account:
npm install @trickest/sdkVerify:
import { TrickestClient } from '@trickest/sdk'
console.log(typeof TrickestClient) // 'function'Environment variables
| Variable | Purpose |
|---|---|
TRICKEST_TOKEN | API token (read by constructor if token option omitted) |
TRICKEST_BASE_URL | API host (default https://trickest.io) |
TRICKEST_WS_URL | WebSocket URL for agent realtime (optional; see Sessions) |
export TRICKEST_TOKEN=<your-token>
export TRICKEST_BASE_URL=https://trickest.io # default