Quick Start
Get started with Paygent in less than 5 minutes. Choose your SDK and start tracking AI usage immediately.
Step 1 — Get Your API Key
Sign up at withpaygent.com and get your API key from the dashboard.
Step 2 — Install the SDK
Python
Node.js
Go
Step 3 — Set up Agents and Indicators
Define your AI agents and the indicators (actions) they’ll track in the Paygent dashboard. For example, create a chatbot-agent agent and a message-sent indicator.
Common Examples:
- Agent:
customer-support-bot→ Indicator:message-sent - Agent:
sales-assistant→ Indicator:meeting-booked - Agent:
content-generator→ Indicator:article-generated
Creating an Agent
Step 1: Go to Paygent dashboard and click on “Create Agent”

Step 2: Give agent name and external ID. External ID is important, Select other agent

Step 3: Create indicators. Indicators can be activity-based or outcome-based

Step 4: Define your pricing. For example, in the image it’s $2 per call

Step 5: Your agent is created successfully!

Creating a Customer
Step 1: Click on “Create Customer”

Step 2: Define customer and external ID. Tip: Always use your database customer ID as external ID

Step 3: Customer is created successfully!

Step 4 — Send Your First Usage Data
Python
Node.js
Go
The simplest way to track AI usage in Python is by initializing Paygent at the start of your application. This automatically instruments supported LLM clients.
Step 5 — Monitor & Bill
View real-time usage data in your dashboard, and Paygent will automatically generate invoices based on actual usage. No manual calculations needed.
That’s it! You’ve successfully integrated Paygent and tracked your first AI usage. The data is now visible in your dashboard at withpaygent.com.
Next steps: Explore the SDK documentation for your language to learn about automatic tracking, advanced features, and best practices.
