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-appThe 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-onlyTemplates
express-api— Express APIAn 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-dashboard— Next.js DashboardAn App Router page that lists runs with live polling. Best for an internal ops console your team can watch.
agent-only— Agent OnlyA 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