Quick Start
Get your first event into OneMinute Logs in under a minute.
Run the CLI from your project root, answer the setup questions, and watch your first event arrive in the dashboard.
Supported frameworks
More coming soonNext.js
- Full-stack and server-side Next.js applications.
Express.js
- Lightweight Node.js APIs and backend services.
NestJS- Structured Node.js applications and APIs.
- React
- Browser apps paired with an Express or NestJS backend.
Run the CLI
With Node.js 20.19 or newer, open an interactive terminal at the root of your project or monorepo and run:
npx oneminute initQuestions and suggested answers
- Monitor all? [Y/n]
- Enter for all apps, or n to select
- If you select apps · Project numbers
- Your app numbers, e.g. 1,3
- What should we name your OML project?
- Choose a readable name. We recommend using the same name as your project.
- React with multiple backends · Select backend number
- The number beside your Express or NestJS backend
- React · Backend URL for the development proxy
- Your backend origin, e.g. http://localhost:8080
- Next.js App Router · Add dashboard here? [Y/n]
- Enter to add it, s to skip, or n to choose a location
- If choosing a location · Dashboard application number
- The number beside your dashboard app
- If choosing a location · Dashboard route
- Enter to use the suggested route
- Enable OML MCP for your AI coding agents? [y/N]
- y for Codex or Claude Code, otherwise Enter to skip
What the CLI configures
After you choose the apps and project name, the CLI reuses your developer session or opens a browser for sign-in. It checks for a valid API key and creates one if needed.
It installs the SDK for each selected framework, configures environment variables and monitoring hooks, and records the setup in oml.json at the repository root. Review the terminal output for any files that need your attention.
Verify your first event
Start or restart the configured apps. Visit a monitored page or call an instrumented API route, then open your project in the OneMinute Logs dashboard and check Realtime Logs for that activity.