• LOGGED
  • VERIFIED
  • AUDITED
  • MANUAL

How to track usage based billing with your AI

Connect Salesbricks to your agent to turn conversation events into billing data. Your AI handles the logging so you don't have to manually track every action.

Ask AI about this page

Short answer

How do I track usage based billing with my AI?

Tell your agent to log specific customer actions as they happen. The agent uses the Salesbricks connection to record these events immediately, ensuring your billing matches actual activity. You get a clean audit trail of usage events.

The outcomes.

Where your usage data lands.

Every event your agent captures ends up in one of these places.

LOGGED

Usage records created

The agent uses the connection to write usage data. You get a precise log of what happened and when.

VERIFIED

Billing accuracy

Usage events map directly to your billing logic. This removes the guesswork from calculating customer costs.

AUDITED

Event history

Every recorded action is stored for review. You can check these logs to resolve any billing disputes.

MANUAL

Human review needed

If an event looks unusual or exceeds a limit, the agent flags it. You decide if the usage is valid.

The workflow

What your AI does when <the thing arrives>.

The agent acts as the bridge between your customer interaction and your billing system.

  1. Detect usage

    Your agent monitors the conversation or task to identify when a billable action occurs.

    record_usage
  2. Capture details

    The agent gathers the necessary metadata, like customer IDs or specific event types, to make the record useful.

    record_usage
  3. Submit record

    The agent sends the usage data to Salesbricks to finalize the entry.

    record_usage
  4. Confirm entry

    The agent verifies the log was successful and informs you or the system that the usage is accounted for.

    record_usage

Try it

Copy these to start.

Use these prompts to trigger usage logging immediately.

Starting points

These are basic ways to start. Swap out the bracketed info for your actual customer names or event types.

Salesbricks API Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_XwPkxs38fu1JFe44lDZCwwSYetdCHZLZ2RHPGaWz/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — Salesbricks API capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "salesbricks-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_XwPkxs38fu1JFe44lDZCwwSYetdCHZLZ2RHPGaWz/mcp"
    }
  }
}
Copy into chat04
  • Record a usage event for customer Acme Corp for one API call.

  • Log a new usage entry for the user in the marketing channel.

  • Track a usage event for the latest transaction in the database.

  • Record usage for the current session under the 'premium_tier' category.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Salesbricks once, then ask.

You only need to link your account once. Your credentials stay encrypted, and you can start using the tools in any MCP-compatible client right away.

Connect Salesbricks to your AI

FAQ

How this task behaves.

  • 01

    Can the AI change my billing rates?

    No. The agent can only record usage events. You must manage your pricing and rates within Salesbricks directly.

  • 02

    Does the AI delete usage logs?

    No. The agent only has the ability to record usage. It cannot delete or modify existing records.

  • 03

    How does the agent know when to log something?

    It depends on your instructions. You tell the agent which specific actions or triggers should result in a usage log.

  • 04

    Can I use this with Claude?

    Yes. Since this is an MCP, you can use it with any MCP-compatible client like Claude or Cursor.

  • 05

    Will this automate my entire invoice?

    It automates the data collection part. The actual generation and sending of invoices happen in your billing system based on the data the agent provides.

  • More questions about Salesbricks? The Connector page answers them. See everything the Salesbricks Connector can do

Connect Salesbricks API to Claude, Cursor, ChatGPT & more