Prerequisites
Before integrating Cello, ensure the following prerequisites are met:- User signup and authentication is functional
- Stripe subscription flow is functional
- You have a Cello account and API keys at hand.
Make sure to use Cello Sandbox environment when developing and testing
Cello user referrals integration (Coding-agent flow)
For a step-by-step technical implementation (source of truth + acceptance criteria), follow the detailed guide:The guide uses React + Node.js as an example, but it can be any other combination — the steps stay the same.
Step 1
Prep your project
- Signup and authentication flow is functional
- Stripe subscription flow is functional
- Cello API keys are handy
Step 2
Add Cello Webhook Endpoint to Stripe
- Get your webhook URL from Cello Portal
- Add a Webhook endpoint in Stripe (Log into your Stripe Dashboard -> Go to Developer Mode -> Add a Webhook endpoint and enter endpoint URL -> Select the events to send -> Click “Add endpoint”)
- Secure the Webhook with “Signing secret”
charge.refunded,charge.succeeded,charge.updatedcustomer.created,customer.deleted,customer.updatedcustomer.subscription.created,customer.subscription.deleted,customer.subscription.updatedinvoice.paid
Step 3
Prompt Cursor to add User Referrals to your appSwitch Cursor to Plan mode, then paste this prompt (includes the detailed guide):Cursor asks you guiding questions and creates an implementation plan based on your answers.
Step 4
Confirm executing the planReview the plan carefully. If it looks correct, tell Cursor to proceed and start implementing it.
Step 5
Publish & TestRun your app and test the end-to-end flow. If everything was implemented correctly, you should see events coming in to Cello Dashboard.