Getlago

Integrations

Connect Lago to your stack

Connect AI providers and gateways, usage data, payment providers and finance systems to turn usage into revenue.

AI providers & gateways

Capture model, gateway, router and AI platform usage with the Lago Agent SDK.

OpenAIProvider

OpenAI

Capture Chat Completions and Responses API token usage.

AnthropicProvider

Anthropic

Capture Messages API usage, streaming and prompt caching.

AWS BedrockProvider

AWS Bedrock

Capture Converse and InvokeModel usage, including streaming.

Google GeminiProvider

Google Gemini

Capture text, reasoning, audio and image token usage.

MistralProvider

Mistral

Capture chat completion, streaming and cache-read usage.

Ramp RouterRouter

Ramp Router

Bill the model that served each routed call.

Snowflake CortexAI platform

Snowflake Cortex

Bill API and SQL AI usage in Snowflake.

Databricks AI GatewayGateway

Databricks AI Gateway

Bill hosted and BYOK AI Gateway usage.

Cloudflare AI GatewayGateway

Cloudflare AI Gateway

Bill live calls or usage from Cloudflare logs.

Payment

Keep Lago billing independent of your processor. Use an available integration or build a custom connection through webhooks and the API.

Adyen

Adyen

Collect payments via cards, wallets and local methods worldwide.

GoCardless

GoCardless

Collect payments via direct debit automatically.

Stripe

Stripe

Automatic card payments.

MoneyHash

MoneyHash

Accept payments across Africa and the Middle East.

Accounting

Keep your accounting as your source of truth.

NetSuite

NetSuite

Sync invoices and billing data to your ERP.

Xero

Xero

Automatically sync invoices.

Tax

Apply the right sales tax to every invoice.

Anrok

Anrok

Automate global sales tax calculation.

Avalara

Avalara

Automate US (and beyond) sales tax calculation.

CRM

Get Lago usage/revenue/customer data in your CRM.

HubSpot

HubSpot

Sync customers, invoices and subscriptions.

Salesforce

Salesforce

Push billing data to Salesforce automatically.

Data

Sync, import or export data.

Airbyte

Airbyte

Send billing data to any warehouse via ETL pipelines.

Amazon S3

Amazon S3

Store and retrieve billing data at any scale.

ClickHouse

ClickHouse

Run real-time analytics on your billing data.

Hightouch

Hightouch

Sync data from your warehouse to Lago via reverse ETL.

Segment

Segment

Ingest customer usage events for accurate billing.

Marketplaces

Bill with Lago as you sell elsewhere.

AWS Marketplace

AWS Marketplace

Bill customers buying through AWS Marketplace.

Azure Marketplace

Azure Marketplace

Bill customers buying through Azure Marketplace.

GCP Marketplace

GCP Marketplace

Bill customers buying through GCP Marketplace.

Workflow & automation

Embed Lago in any automation.

Zapier

Zapier

Build automations with thousands of tools.

n8n

n8n

Build advanced billing automations.

Auth & entitlements

Manage authentication and feature access.

Okta

Okta

Manage identity and access for your billing system.

Oso

Oso

Control feature access.

Google

Google

Login with Google SSO.

Microsoft Entra IDPremium add-on

Microsoft Entra ID

Sign in to Lago with corporate Microsoft accounts.

Other

Lago is open-source and easy to extend.

Custom

Custom

Lago is open-source and easy to extend.

Integration questions

Using integrations

Does Lago update prepaid credit balances in real time?

Yes. Lago’s ongoing wallet balance typically refreshes in under a second after a new event is included in usage. It reflects remaining prepaid credits after current usage, including taxes.

Use this live balance in customer dashboards and configure balance alerts and automatic top-ups.

See the event-to-wallet flow and wallet documentation.

Can Lago handle negotiated enterprise contracts?

Yes. Customize subscription fees, usage rates, minimum commitments and billing thresholds for each customer’s subscription while keeping a shared plan structure.

Lago applies those negotiated terms when calculating charges and generating invoices.

Explore customer-specific pricing.

Do I need to self-host Lago or manage billing infrastructure?

No. Lago Cloud is a fully managed billing platform. Lago handles hosting, scaling, upgrades and monitoring. Your team connects customer and usage data, configures pricing and connects your payment and finance tools.

Self-hosting is also available if you prefer to operate Lago in your own environment.

Explore managed Lago Cloud.

CRM

Can Lago automate billing from Salesforce deals and negotiated contracts?

Yes. Lago’s Salesforce CRM integration creates customers and subscriptions with supported negotiated price overrides, including multiple subscriptions per opportunity. The default flow starts when an opportunity is marked Closed Won.

Lago sends subscription, invoice, payment-status and credit-note data back to Salesforce, so sales teams can follow billing from their CRM. A Salesforce administrator installs the package, maps records and activates the flows.

Explore the Salesforce CRM integration

Can we keep Salesforce CPQ and turn an approved quote into a Lago subscription?

Yes. Lago’s Salesforce CPQ extension connects your existing quoting workflow to billing. Once its flows are configured and activated, supported negotiated terms carry through to Lago subscriptions.

The extension requires Salesforce CPQ and Lago’s base Salesforce CRM package.

Explore the Salesforce CPQ extension

What billing information can our sales team see in HubSpot?

Lago’s HubSpot integration sends customers, subscriptions and invoice data to HubSpot custom objects, giving your sales team billing visibility inside their CRM. It requires HubSpot Sales Hub Enterprise.

The native sync runs from Lago to HubSpot. To create a Lago subscription when a HubSpot deal becomes Closed Won, connect that handoff through a separate API or automation workflow.

Explore the HubSpot integration

Accounting

Can we keep NetSuite for accounting while Lago handles billing?

Lago’s NetSuite SuiteBundle syncs customers, invoices, credit memos and payments recorded in Lago to NetSuite.

Configure item, tax, subsidiary, currency and invoice-line mappings to match your accounting setup, including billing across multiple legal entities.

Explore the NetSuite integration

Can we keep revenue recognition in NetSuite ARM while billing with Lago?

Yes. Lago sends invoice fees and service-period dates to NetSuite, where your finance team maintains the items and ARM recognition rules. Configure the required service-date columns and mappings to keep revenue recognition in NetSuite while Lago handles billing.

Lago also has its own revenue recognition feature. Contact sales or your account manager to enable access.

How does Lago sync invoices, credit notes and payments to Xero?

Lago’s Xero integration syncs invoices to Xero, with credit-note and payment sync available as separate options.

Map Lago’s billable metrics and add-ons to Xero items, with default mappings and billing-entity-specific mappings where needed. Configure the payment account and test the mappings before syncing live billing records.

Explore the Xero integration

Payments

Can we keep Stripe Payments while Lago calculates our bills?

Yes. Lago meters usage, applies your pricing and creates invoices; Stripe collects the payments.

Link your existing Stripe customer IDs or let Lago create matching customers, then configure payment options and webhooks. You can keep Stripe Payments without using Stripe Billing for the same subscriptions.

Connect Stripe Payments

Can Adyen collect payments for Lago invoices?

Yes. Lago creates the invoice and requests payment through Adyen. Payment status updates flow back to Lago so your billing records reflect the collection outcome.

Connect your Adyen account, link customers, and configure payment methods and webhooks. Validate the merchant account, currency and payment methods for the countries you serve.

Connect Adyen

Can GoCardless collect Lago invoices by direct debit?

Yes. Connect GoCardless and link each customer to an authorized direct-debit mandate. Lago requests collection for invoices through GoCardless and receives payment status updates.

Connect GoCardless

How do customers pay Lago invoices through MoneyHash?

The community MoneyHash integration creates checkout links for supported payment methods. Link the Lago customer to a MoneyHash connection, generate the invoice’s payment link and share it with the customer.

Once the customer pays through the checkout, MoneyHash sends the payment status back to Lago.

Connect MoneyHash

Tax

Can Anrok calculate tax on Lago invoices and credit notes?

Yes. Lago’s Anrok integration estimates tax while an invoice is in draft and records the transaction in Anrok when the invoice is finalized. Supported credit-note adjustments also sync.

Configure customer addresses and product mappings so Anrok can determine the applicable tax treatment.

Connect Anrok

Can we keep Avalara AvaTax when Lago creates the invoice?

Yes. Lago’s Avalara integration requests tax estimates while invoices are in draft and records the final transactions when invoices are finalized. Supported credit-note adjustments also sync.

Configure your addresses, tax codes and product mappings so AvaTax can calculate the applicable taxes and return them to Lago.

Explore the Avalara integration.

AI providers and gateways

Can I use Lago to track OpenAI usage and bill my customers?

Yes. Lago turns OpenAI usage into customer charges. Use the Lago Agent SDK to capture token consumption and associate it with each customer’s subscription, then apply your own token prices or a cost-plus markup.

You can combine usage charges with subscriptions and prepaid credits. Your customer pricing stays separate from OpenAI’s rates.

The SDK supports Chat Completions and the Responses API, including streaming. Explore the OpenAI integration.

Can I bill my customers for Claude usage and add my own markup?

Yes. Lago lets you charge customers for Claude usage at your own prices. Set separate rates for input, output and cached tokens, or use the Lago Agent SDK to apply a markup to reference model prices.

For example, a 20% markup turns $1 of calculated usage cost into a $1.20 customer charge. Use your own rates to reflect negotiated discounts or special pricing.

Explore usage pricing and markups.

Can I bill my customers for AWS Bedrock usage and add my own markup?

Yes. The Lago Agent SDK captures token usage from supported Bedrock calls and associates it with each customer’s subscription.

Set your own rates by model and token type, or apply a markup to AWS’s published regional prices where available.

Explore the AWS Bedrock integration.

Can I bill my customers for Google Gemini usage and add my own markup?

Yes. The Lago Agent SDK captures Gemini usage, including streaming calls, and associates it with each customer’s subscription.

Set your own prices by model and usage type, or apply a markup to reference model prices. Configure explicit rates for audio, images or special pricing.

Explore the Google Gemini integration.

Can I bill my customers for Mistral usage and add my own markup?

Yes. The Lago Agent SDK captures Mistral chat usage, including streaming calls and reported cache-read tokens, and associates it with each customer’s subscription.

Set your own token prices or apply a markup to reference model prices. You can combine these usage charges with subscriptions or prepaid credits.

Explore the Mistral integration.

Can I bill customers for AI usage through Ramp Router and add my own markup?

Yes. The Lago Agent SDK captures usage against the model that actually answered the request.

Set your own token prices, or apply a markup using Ramp Router’s account-specific model prices for supported models and pricing tiers. Attribute each call to the relevant customer subscription.

Explore the Ramp Router integration.

Can I bill my customers for Snowflake Cortex usage at my own prices?

Yes. The Lago Agent SDK collects token usage from Cortex API calls and SQL AI activity. Attribute that usage to customer subscriptions and set your selling prices in Lago.

Explore the Snowflake Cortex integration.

Can I bill my customers for Databricks AI Gateway usage and add my own markup?

Yes. The Lago Agent SDK captures usage from Databricks-hosted models and requests using your own provider credentials.

Attribute that usage to customer subscriptions and set token rates in Lago that reflect your costs and desired markup. You can combine these usage charges with subscriptions or prepaid credits.

Explore the Databricks integration.

Can I bill my customers for usage through Cloudflare AI Gateway and add my own markup?

Yes. The Lago Agent SDK captures AI usage routed through Cloudflare AI Gateway and associates it with each customer’s subscription.

Set your own usage rates in Lago to include your markup. You can combine these charges with subscriptions or prepaid credits.

Explore the Cloudflare AI Gateway integration.

Data and usage

Can I use Airbyte to bring Lago billing data into my data warehouse?

Yes. Airbyte connects Lago to warehouses such as Snowflake, BigQuery and Redshift. Export invoices, customers, subscriptions, plans and other billing records on a schedule you choose.

Combine that data with your product and finance data to build your own revenue reports and customer analysis.

Explore the Airbyte integration.

Can I bill customers using usage data stored in Amazon S3?

Yes. Lago can read usage records from your S3 bucket and turn them into billable events. Map those records to your customers and billable metrics, then apply your pricing in Lago to calculate charges and generate invoices.

Lago can retrieve files from your bucket or process them as upload notifications arrive.

Explore Amazon S3 ingestion.

Can I analyze Lago billing and revenue data in my own ClickHouse warehouse?

Yes. Lago Data Pipeline syncs billing records, including invoices, fees, subscriptions, wallets and wallet transactions, to your ClickHouse warehouse.

Combine them with your product and finance data to build revenue dashboards, analyze customer spending and reconcile billing records.

Explore the ClickHouse integration.

Can I use Hightouch to bill customers from usage data already in my warehouse?

Yes. Configure Hightouch to send usage records from your warehouse or database to Lago through its HTTP Request destination.

Map those records to customer subscriptions and billable metrics. Lago then applies your pricing to calculate charges and generate invoices.

Explore the Hightouch integration.

Can I use the events I already track in Segment to bill customers with Lago?

Yes. Use a Segment Destination Function to forward your selected product events to Lago and associate them with customer subscriptions.

Lago turns those events into billable usage and applies your pricing, so the activity you already track can power usage-based invoices.

Explore the Segment integration.

Cloud marketplaces

Can I sell through AWS Marketplace while using Lago for metering and billing?

Yes. Lago integrates with AWS Marketplace through its partner Fours. The integration tracks usage from your existing Lago setup and allocates it to the marketplace.

Fours also helps you list your product, transact and co-sell on AWS Marketplace.

Explore the AWS Marketplace integration.

Can I sell through Azure Marketplace while using Lago for metering and billing?

Yes. Lago’s integration with Fours connects your existing usage and billing setup to Azure Marketplace.

Fours tracks and allocates usage to the marketplace and supports product listings, transactions and co-selling.

Explore the Azure Marketplace integration.

Can I sell through Google Cloud Marketplace while using Lago for metering and billing?

Yes. Lago integrates with Google Cloud Marketplace through its partner Fours. The integration tracks usage from your existing Lago setup and allocates it to the marketplace.

Fours also supports product listings, transactions and co-selling on Google Cloud Marketplace.

Explore the Google Cloud Marketplace integration.

Automation

Can I automate billing workflows with Lago and Zapier?

Yes. Connect Lago’s webhooks to Zapier to trigger workflows from billing events.

For example, automatically notify your finance team in Slack whenever Lago creates an invoice, including the invoice details they need to follow up.

Explore the Zapier integration.

Can I automate usage alerts and customer follow-up with Lago and n8n?

Yes. Configure n8n to check customer usage in Lago on a schedule and trigger actions when usage or spending reaches a threshold you choose.

Notify your team in Slack, send customers an email or trigger a CRM workflow to help them manage spending.

Explore the n8n integration.

Authentication

Does Lago support Okta single sign-on for our team?

Yes. Your team can sign in to Lago with their existing Okta credentials. Administrators can connect your Okta organization and require Okta sign-in for team access.

Contact sales or your account manager to enable access, then follow the Okta setup guide.

Can our team sign in to Lago with Google Workspace accounts?

Yes. Team members can access Lago with their existing corporate Google accounts.

Administrators can manage allowed login methods in Lago’s authentication settings and require Google sign-in for the organization.

Explore Google SSO.

Can our team sign in to Lago with Microsoft Entra ID?

Yes. Team members can access Lago with their existing Microsoft Entra ID accounts. Administrators can connect your tenant, include subsidiary email domains and require Entra ID sign-in for the organization.

Contact sales or your account manager to enable access, then follow the Microsoft Entra ID setup guide.

Entitlements

Can I use Lago and Oso to control customer access to features and enforce usage limits?

Yes. Connect your plan entitlements and Lago usage data to Oso’s authorization policies. Your application uses those policies to grant access based on each customer’s plan and remaining quota.

Lago handles usage metering and billing, including overage charges configured in your pricing.

Explore the Oso integration.

Custom integrations

Can I connect Lago to tools or internal systems that aren’t listed?

Yes. Use Lago’s API, SDKs and webhooks to connect your customer, subscription, usage, invoice and payment workflows to your own systems.

You can build these integrations on fully managed Lago Cloud, with Lago operating the billing infrastructure.

Explore Lago’s API, SDKs and webhooks.

How can I connect Lago to my existing finance and sales tools?

Lago offers native connectors for tools such as Salesforce, NetSuite, Stripe Payments, Anrok and Avalara, plus partner integrations such as Fours for cloud marketplaces.

For internal systems and additional workflows, use Lago’s API, SDKs and webhooks.

Explore Lago’s integrations.

Invoicing and tax coverage

Can Lago automatically generate invoices for subscriptions and usage-based pricing?

Yes. Lago automatically generates invoices from your subscription terms and usage charges and provides downloadable PDFs. You can also use the invoicing provider of your choice, using Lago’s invoice data and webhooks.

Explore invoicing

Does Lago calculate taxes?

Yes. Lago calculates taxes from the rates you configure and supports basic EU VAT scenarios. Connect Anrok or Avalara for broader tax calculation based on your customer, product and jurisdiction settings, and Lago applies the result to the invoice.

Explore anrok

Does Lago provide e-invoicing?

Yes. Lago generates structured e-invoices for France, including Factur-X and UBL EN 16931, and Germany, including XRechnung and ZUGFeRD.

Submission to tax authorities or networks such as Peppol requires an appropriate provider connection. Contact sales or your account manager to confirm the formats and submission workflow for your countries.

Are there geographic restrictions on using Lago?

Lago’s core billing capabilities are designed to work across countries. Tax and e-invoicing coverage depends on local requirements and the provider integrations you use.

Contact sales or your account manager to confirm the setup for your markets. Service availability remains subject to applicable legal and export restrictions under Lago’s terms.

Lago solves complex billing.