Quickstart
Four settings stand between a new organization and its first governed agent run: a model provider, at least one enabled MCP server, a policy that allows that server’s tools, and the teammates who will use it. Do them in this order — each step unlocks the next.
Sign in as the first administrator
Workspace access comes from your identity provider: the member who holds the
admin membership role in WorkOS arrives in Lunen as an Admin, with the
user, policy, provider, registry, and audit permissions that role carries.
Everyone else arrives as a User. There is no separate bootstrap step
inside Lunen.
Connect a model provider
Open Settings → Access (under Provider Management) and paste an API key for at least one provider — OpenAI, Anthropic, or Google Gemini — or set up a LiteLLM proxy or Amazon Bedrock instead; see Models & secrets. Keys are write-only: once saved, a row shows only Configured, and replacing a key means deleting it and pasting the new one. Until a provider is connected, no agent in the organization can run, and model pickers read No models are available yet. Add a provider API key under Settings → Access first.
Enable an MCP server
Open Settings → MCP Registry, find a server your team needs — Slack, Atlassian Rovo, Notion, GitHub, and dozens more — choose Configure, and switch it to Enabled in its detail panel. Some servers need setup before members can connect (an OAuth client, server variables, or an install); the panel lists what each one requires.
Write a policy and attach it to a role
Enabling a server grants nothing: every MCP tool is refused until a policy allows it, and the managed policies cover only Lunen’s own tools — for administrators too. Open Settings → Policies, choose New Policy, and set each of the server’s tools to Allow or Approve. Reads are usually safe to allow; anything that creates, updates, or sends should require approval until you have watched it run. Then open Settings → Roles and attach the policy to the roles that should get it — User and Admin together reach every member — from the role’s Policies submenu. The full model is on Policy & approvals.
Invite the team
Open Settings → Users and choose Add User. Each invitee gets a Workspace access level — User runs their own agents; Admin also manages users, roles, policies, provider access, and the registry. Pending invitations wait under Pending Invites. Members then connect their own accounts to enabled servers under Connected Services.
Watch one run end to end
Have an agent builder describe a small agent, run it once, and approve its first write from the run page — approvals go to the member who owns the run. Then read the run in the audit log. Once you have seen the loop — plan, pause, approval, audit event — you know exactly what you are governing, and can widen the policy deliberately.
API keys are not verified when you save them. A mistyped or unfunded key surfaces at first use, as a provider error on the run — not on the Access page.
Pending tool approvals expire after one hour and fail the run, and only the run’s owner can answer them. Before you put agents on schedules, make sure their owners will see the approval queue in time.