Developer Hubcreate-eclips-app

CLI Scaffold

One command generates a production-ready project wired to @eclips/sdk. No global install needed. Requires Node.js 18 or newer.

Create a project

bash
npx create-eclips-app my-app

The CLI prompts for a template, or pass one with a flag:

bash
# Non-interactive: pass a template directly
npx create-eclips-app my-app --template agent-only

# Templates: express-api | nextjs-dashboard | agent-only

Templates

express-apiExpress API

An Express server with an HMAC-verified webhook endpoint and a sample route that calls the SDK. Best when eClips needs to push events into your backend.

nextjs-dashboardNext.js Dashboard

An App Router page that lists runs with live polling. Best for an internal ops console your team can watch.

agent-onlyAgent Only

A single TypeScript file that creates a client and runs an agent. The fastest way to test your API key.

Next steps

Each template ships a .env.example. Add your key and run:

bash
cd my-app
cp .env.example .env.local   # add your ECLIPS_API_KEY + ECLIPS_ORG_ID
npm install
npm run dev