Skip to main content
Use Claude Code or Codex to explore Lago and build a billing integration. The Lago plugin gives your agent an offline example and implementation guidance. You do not need a Lago account to start. When you are ready to check real usage, get access to a Lago organization.

Pick your agent

Run in Claude Code:
Then ask: /lago:implementation show me what Lago can do
To add billing to an application, follow Build Lago billing with a coding agent. It covers the repository work, local tests, CLI setup, and a check against Lago.

Connect to Lago when you are ready

First, get access to the organization you will use:
  • Your team already uses Lago Cloud: Ask your Lago organization admin for an invitation, accept it, and sign in. Confirm whether the organization is in the US or EU region.
  • You need a new Lago Cloud organization: Request access from Lago. Lago’s team sets up Cloud accounts; tell them which region you need and whether you are setting up a test integration.
  • You use self-hosted Lago: Deploy Lago and sign up in its web app to create your organization, or ask your team’s operator for access to an existing instance. Record the API service URL.
Once signed in to that organization, get its API key from Developers → API keys, or ask an admin to provide one. Keep it out of prompts and source control. Follow the billing workflow to connect the CLI and check usage. Use the Lago CLI or product MCP server to read or configure a real organization. These are separate from the plugin. Your application uses a Lago SDK or the REST API at runtime. The plugin does not bundle the CLI or either MCP connection. If you want your agent to look up exact event or pricing guidance while coding, add https://docs.getlago.com/mcp as a remote HTTP MCP server. It searches public docs and cannot read your organization’s data.