Skip to main content
The fastest way to instrument your project with Laminar: run the CLI once, then hand the setup prompt to your coding agent and let it do the rest.

Set up with your coding agent

Run setup at the project root. It authenticates you, writes a new project API key to your env file, links the directory, and installs the Laminar skill so your coding agent knows how to instrument with Laminar:
npx lmnr-cli@latest setup
Then copy this prompt into Claude Code, Cursor, or Codex:
1. Instrument this project with Laminar using the installed skill or the docs:
https://laminar.sh/docs/tracing/integrations/overview
2. Run the project.
3. Verify instrumentation:
`lmnr-cli sql query "SELECT * FROM traces ORDER BY start_time DESC LIMIT 1" --json`
4. View the traces in the browser
Your coding agent picks the right integration, adds initialization at the correct entrypoint, runs your project, and verifies traces are landing. Then open your project in the dashboard to read the full transcript. See the CLI page for what setup writes and how the debug commands authenticate.

Install manually

Prefer to wire up the SDK yourself? The Tracing docs walk through installation, initialization, and the available integrations. For where to run Laminar, see Hosting options.