> ## Documentation Index
> Fetch the complete documentation index at: https://laminarai-docs-lam-1778-self-host-access-control.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Getting Started

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](https://github.com/lmnr-ai/lmnr-skills) so your coding agent knows how to instrument with Laminar:

```bash theme={null}
npx lmnr-cli@latest setup
```

Then copy this prompt into Claude Code, Cursor, or Codex:

```text theme={null}
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](/tracing/integrations/overview), adds initialization at the correct entrypoint, runs your project, and verifies traces are landing. Then open your project in the [dashboard](https://www.lmnr.ai/projects) to read the full transcript.

See the [CLI page](/platform/cli) for what `setup` writes and how the debug commands authenticate.

## Install manually

Prefer to wire up the SDK yourself? The [Tracing docs](/tracing/introduction) walk through installation, initialization, and the available [integrations](/tracing/integrations/overview). For where to run Laminar, see [Hosting options](/hosting-options).
