Prerequisites
Before integrating Cello, ensure the following prerequisites are met:- The project must be connected to Supabase. Learn more about Supabase
- User signup and authentication via Supabase 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 (No‑code chat flow)
Lovable now does all Cello integration steps for you. Once your Cello API keys and Secrets are configured via the in-chat Add API Key form and your project meets all the prerequisits, simply tell Lovable what you need.For a step-by-step technical implementation (source of truth + acceptance criteria), follow the detailed guide:
Step 1
Prep your project
- Signup and authentication flow with Supabase is functional
- Stripe subsctiption 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 Lovable to add User Referrals to your appSwitch Lovable to Plan mode, then paste this prompt (includes the detailed guide):Lovable 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 Lovable to proceed and start implementing it.
Step 5
Publish & TestYou cannot try the full end-to-end flow in the Preview mode. Publish your changes to test.If everything was implemented correctly, you should see events coming in to Cello Dashboard.