nauvidDocsMarkdownllms.txt

Service keys

Draft for /docs/service-keys. Behaviour read from src/server/services/service-keys.ts on 2026-11-22. True only after the Settings screen ships (settings-mvp.md, S3). Today keys are created by the operator on the server; until S3 ships, replace "Create a key" below with "write to [email protected]".

A service key lets an agent work in nauvid when nobody is there to sign in: a nightly job, a CI step, claude -p.

What a key is

Create a key

  1. In nauvid open Settings โ†’ Agents & keys. Only team owners see New key.
  2. Give it a name that says what uses it (up to 80 characters), for example "CI screenshots".
  3. Copy the key and put it in a secret store or an environment variable.

Use a key

Send it as a bearer token on every request to https://nauvid.com/mcp:

Authorization: Bearer nv_sk_...

Client setup: Claude Code, Gemini CLI, any MCP client. ChatGPT and the Claude apps cannot send a key; use the Google sign-in there.

Keep it safe

Key or sign-in?

Sign-in (OAuth)Service key
Someone can click through a browserYesNot needed
Works inAll of the person's teamsOne team
Recorded asThe person, via the clientThe key's creator, via the key's name
Ends whenThe person revokes the agentAn owner revokes the key, or its creator leaves