# Lago AI connector guide

Connect Lago data to AI agents with Combined. Explore billable metrics, plans, coupons, source setup, MCP access and read-only business queries.

Combined offers 1,125 connectors across catalog sources and connectors generated through desktop automation.

## Connect

1. Open Combined Connected Apps and select Lago.
2. Authorize the source and choose the relevant datasets.
3. Complete a first sync, then grant your agent access through the Set up or Access workspace.
4. Discover the actual source schemas before querying.

## Setup reference

- API Key: required in the upstream source schema
- API Url: optional

## Dataset reference

- billable_metrics; key: lago_id
- plans; key: lago_id
- coupons; key: lago_id
- add_ons; key: lago_id
- invoices; key: lago_id
- customers; key: lago_id
- subscriptions; key: lago_id
- wallets; key: lago_id
- customer_usage
- fees; key: lago_id
- customer_usage_past; key: lago_invoice_id

This is the upstream connector reference, version 0.7.61. Account permissions and sync configuration determine the datasets available in your workspace.

## Agent prompt

Use Combined to analyze my Lago data.
List my granted sources, discover the datasets and describe their fields.
Look for datasets corresponding to billable_metrics, plans, coupons, add_ons, invoices, customers.
Check the last successful sync and report the available date coverage.
Propose three useful questions based on the fields actually available.
For the question I choose, run read-only SQL over the complete matching dataset.
Use a bounded result; include source names, time window and query receipt.
Ask for a missing join key or metric definition instead of inventing one.

## Links

- Combined: https://www.trycombined.com/
- Setup: https://www.trycombined.com/docs/getting-started/onboarding
- MCP: https://www.trycombined.com/docs/integrations/mcp
- Pricing: https://www.trycombined.com/pricing
- Upstream source reference: https://docs.airbyte.com/integrations/sources/getlago
- Full guide: https://www.trycombined.com/connectors/getlago
