1
Install Terse
terse auth login. Run terse update later to refresh the CLI.If you prefer to install only the CLI, use npm install -g terse-cli instead.2
Scaffold a project
terse init handles the full setup in one command:- Scaffolds your TypeScript project files (
src/index.ts, config, etc.) - Installs dependencies
- Opens the browser to authenticate via
terse auth login - Checks your connected integrations and prompts you to add more if needed
- Runs
terse generateto produce a typed SDK from your workspace
terse auth login during init stores CLI credentials in your user config, not in the project folder, so .env.example starts empty: copy it to .env and add whatever your own code needs. Neither Terse credential belongs there. Your workflow code receives a project-scoped TERSE_PROJECT_KEY automatically on every run, and the CLI reads TERSE_API_KEY from your user config. See API key resolution.3
Write your workflow
Open
src/index.ts and define a job. The scaffolded file includes a starter example. Your generated SDK gives you typed helpers for every integration you connected: trigger builders and resource constants.4
Test locally
5
Deploy
What to do next
Context as Code
Understand what
terse generate produces and why it matters.