No-code
Create a product and start selling without writing a line of code.
Code integration
Integrate AgentaOS into your app with the SDK, CLI, or REST API.
No-code
The fastest way to get paid: create a product in the dashboard and share its link.1
Create a product
In the sidebar, click Products, then click New product. Give it a name and a price, choose one-time or subscription, and save. The product gets its buyer link when you save it.
2
Share your link
Click Copy link and send it anywhere: an email, a chat message, social, or a QR code. Every visitor gets their own checkout, and one link can be paid many times.
3
Get paid
Your buyer pays on the secure checkout by card, with Apple Pay and Google Pay on devices that support them, or by bank transfer on EUR sales. The payment, tax, invoice, and payout are handled for you. Watch it land on Home or under Transactions. To be paid out, add a payout account under Balances → Payout accounts.
Code integration
Everything the dashboard does is available over the SDK, CLI, and REST API.1
Get access and your API key
Sign up at app.agentaos.ai. No card required. Then open Developers → API keys in the sidebar and click Generate Test Key. It is shown once, so copy it now.Test keys are prefixed
sk_test_ and only ever touch test-mode data. Prefer the terminal? Skip the key and run agenta login instead.2
Install and create a checkout
Amounts are in currency units:
49.99 means €49.99, never cents.3
Take the payment
Open the
checkoutUrl. In test mode the page renders the secure card form. Pay with the standard test card:4
Handle successful payments
After payment the buyer is redirected to your
successUrl. For anything that matters (granting access, provisioning, emails), do not rely on the redirect. Listen for the checkout.session.completed webhook on your server instead.Complete working example
A full Node.js and Express app: create a checkout, and receive the payment event reliably over a signed webhook. Copy, set three env vars, and run.- Run
npm install express @agentaos/pay. - AgentaOS does not deliver webhooks to
localhostand only redirects buyers tohttpsaddresses, so give port 3000 a public HTTPS address with a tunnel service and setAPP_URLto it. - In Settings → Developers → Webhooks, set the webhook URL to the tunnel address plus
/webhooks, and copy the signing secret intoAGENTAOS_WEBHOOK_SECRET. - Start the server with
npx tsx --env-file=.env server.ts.tsxruns the TypeScript file directly, and--env-fileloads the.envvalues.
POST /checkout returns a checkoutUrl. Pay it with the test card, and your /webhooks handler logs the payment.
Next steps
Test mode and testing
How test and live keys differ, and what going live requires.
Checkouts
Checkout sessions and payment links in depth.
Subscriptions
Recurring billing, renewals, and cancellation.
Webhooks
Receive and verify real-time payment events.