Skip to main content
Codex can implement Cello user referrals end-to-end if you give it the right guidance and force it to create a plan before coding.

Prerequisites

Before integrating Cello, ensure the following prerequisites are met:
  • Signup and authentication flow with a database to store user records is functional.
  • Stripe or Chargebee 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)

1

Step 1

Connect the Cello MCPAdd the Cello MCP server from the terminal:
Authenticate via the Cello Portal when prompted.
2

Step 2

Add Cello Integration Guide SkillDownload the skill into your repo’s skills folder:
Restart Codex so it picks up the new skill.
You can also install it at the user level ($HOME/.agents/skills) so it’s available across all your projects, or at the admin level (/etc/codex/skills) for your whole org.
3

Step 3

Integrate Cello
  • Use the skill to get a tailored integration guide for Cello
  • Codex will ask you questions that cannot be answered automatically
4

Step 4

Confirm executing the plan
  • Review the plan carefully. If it looks correct, tell Codex to proceed and start implementing it.
5

Step 5

Publish & Test
  • Run your app and test the end-to-end flow. If everything was implemented correctly,
  • You should see events coming into the Cello Dashboard.
  • Or you can validate your integration by using the Cello MCP tools and prompt “Is my Cello integration working?”
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.