Before you start
- An AgentaOS account. The dashboard opens in Test mode. You only need to verify your business to take real money: see Go live.
- A second browser, or a private window, to act as the buyer.
- The test card
4242 4242 4242 4242, with any future expiry date and any CVC. Type it only into the card form on the checkout page.
Create the plan
Start a new product
Name it
Pro. Buyers see the name and the description on the checkout.Set the price
29, and pick EUR or USD. Click Subscription, then Monthly.Add the trial
14. Leave Trial price empty for a free trial.Create it

The plan's page. Copy link gives you the link for buyers.
Share the link or embed it
Click Copy link and send the link to a buyer: in an email, on your pricing page, or in a post. One link works for every buyer. To show the checkout on your own site instead, open Building this into your site? on the plan’s page. Under Embed on your site, click Copy snippet and paste it into your page. The snippet works only on sites you approve under Settings → Developers → Approved sites. See Embedded checkout.Take the first subscriber
Open the link in your second browser and pay as the buyer.Fill in the buyer details
buyer@example.com and pick a Country. The checkout shows Due today €0.00 and the monthly price after the trial, with any VAT for that country.
The first checkout step for a plan with a free trial.
Continue to payment
Enter the test card
4242 4242 4242 4242 in Card number, any future date in Expiration date, and any three digits in Security code.Start the trial

What the buyer sees after starting the trial.
See the subscriber
In the sidebar, click Subscriptions. The new subscriber shows with the status Trialing and the date of the first charge under Renews.
The first subscriber, in their free trial.

The subscription page. Change plan and Cancel subscription are on the right.
Change their plan
A plan change needs a second plan in the same currency and with the same interval. Create a product namedPro Plus at 49, Subscription, Monthly, the same way as above.
Open the dialog
Pick the new plan
Confirm

A downgrade back to Pro: nothing is charged today.
Cancel
Start the cancellation
Confirm

Canceling keeps the period the buyer already has.
From code: subscribe a signed-in user
When the buyer already has an account in your app, create the checkout from your server with the plan’s link ID and your own user ID inmetadata. Use these pages:
- Subscriptions in the SDK: the checkout call for a signed-in user, and how to match renewals to your user.
- Paywall for logged-in users: the complete integration, as a runnable demo app with the user’s invoices and plan management.
- Subscriptions: creating plans, listing subscriptions, plan changes, and canceling from code.