Assistant
/ your control center my-app is live New appM
Your assistant
online Β· ready to help
Day 1 Β· getting online
M
Hi John π Just tell me what you want β I'll handle the technical part.
JD
hey, I built an app in Cursor, it's on my laptop. can you put it online?
M
Love it π To build it I need it on GitHub. Connect your account and I'll pick it up from there:
M
GitHub connected
verifying your repo
Found john/my-app β
, permissions OK. I also see a Dockerfile, so I can build it.
I'll put it at my-app.meta-saas.vicoop.com β that address is free β
JD
actually, can I pick my own address? I'd like
shopM
checking availability
Hmm β shop.meta-saas.vicoop.com is already taken β. It's free as one of these:
shop-1shop-2shop-app
JD
nah, not those. can you check
myshop?M
checking availability
myshop.meta-saas.vicoop.com is free β
β want me to use that one?
JD
perfect, let's go with myshop
M
Done π your address is set to
myshop.meta-saas.vicoop.com.
M
Ready to go live. Shall I deploy?
Deploy β please confirm
Repojohn/my-app Β· main
URLmyshop.meta-saas.vicoop.com
PlanPaid Β· slot 1 / 5
JD
yes please, deploy it π
M
Cloned repo
Security scan passed
Built image (44s)
Deployed Β· health green
JD
amazing. now I want to charge people β only paying users should see the premium stuff.
M
I'll turn on Payments. The money goes straight to your account β Stripe verifies your identity first.
Do you want to connect an existing Stripe account, or create a new one?
JD
create a new one
M
Perfect. Set it up here β Stripe handles the verification, your details stay with them:
M
Stripe account created & verified
Payments enabled
Payouts toyour new Stripe account
Identity checkverified β
M
Now I just need to wire it into your code. Paste this to your Cursor/Lovable agent:
prompt for your AI agent copy
Set up the Meta-SaaS Payments integration in this project:
1. Install β run
2. Use it β gate premium with
3. Save a reusable rule β create
Then commit & push.
1. Install β run
npx @meta-saas/init stripe2. Use it β gate premium with
platform.checkPaid(userId); start checkout with platform.createCheckout(userId) (no Stripe keys in code)3. Save a reusable rule β create
.cursor/rules/meta-saas.md with the platform.* API + βno raw keysβ, so you reuse it automatically next timeThen commit & push.
JD
done β pushed it π
M
validating your push
Got it β
β your code now calls platform.checkPaid(), the integration is correct. Redeploying with payments onβ¦
Integration check passed
Rebuilt & redeployed
Your agent also saved a reusable rule Β·
.cursor/rules/meta-saas.mdDone β premium content is now locked behind payment π Next time you won't need to paste anything.
The next day Β· something's off
JD
hey, for some reason my pricing page just shows a blank screen π not sure why, I didn't change anything there
M
Let me take a look π
reading live logs + your page code
Found it. Your app is crashing on that page β here's the error from the logs:
14:02:11 TypeError: platform.chekPaid is not a function
at app/premium/page.tsx:12:18
render β 500 Β· /premium
It's a tiny typo π your code calls at app/premium/page.tsx:12:18
render β 500 Β· /premium
platform.chekPaid() but the function is platform.checkPaid() (missing a βcβ). Everything else is fine.
M
Paste this to your Cursor agent and it'll fix it:
fix prompt for your AI agent copy
In
It's a typo β rename it to
app/premium/page.tsx line 12, you call platform.chekPaid(userId).It's a typo β rename it to
platform.checkPaid(userId). Then commit & push.
M
π I just noticed a new commit land on GitHub with the fix applied:
Looks like exactly the fix we needed. Want me to redeploy it?
New commit detected β redeploy?
Commita91c2e Β· βfix typo checkPaidβ
Changedapp/premium/page.tsx
JD
yes, redeploy please
M
Built fixed image (39s)
Redeployed Β· health green
Heads-up Β· Stripe
M
Quick heads-up π Stripe needs you to verify your identity to keep your payouts running β I'm telling you now so it never silently blocks your money.
It takes ~2 minutes. Want me to open the secure Stripe form?
Action needed on your Stripe account
WhatID document
DeadlineJun 30 Β· else payouts pause
JD
done, uploaded it β
M
Stripe verified β account fully active again
Thanks! Payouts stay on, nothing interrupted. π
A week later
JD
is everything still ok? and is anyone paying?
M
checking live
All good β
my-app is up (checked just now), the last redeploy succeeded, 0 errors in the past 24h.
And 7 customers are paying you right now (as of 3s ago). Want this month's revenue?
Later Β· performance
M
watching your app's resources
β οΈ Heads-up β my-app is running slow. Its container is low on RAM (95%, it's swapping) and responses are getting sluggish.
Container under pressure
RAM0.95 / 1 GB Β· 95%
Response time (p95)880ms β
JD
no, let's go straight to 4 GB
M
On it β ordering an increase to 4 GB RAM π
Applied new size (4 GB)
Rolling restart Β· health green
M
RAM increased to 4 GB
Done β
your app has 4 GB now β running smooth again, latency back to normal. Billed pro-rata (+$15/mo).
Show this month's revenue
Add file uploads (S3)
Show me the logs