๐Ÿค– Software ยท LARZ-501 · Session 6 of 8

Ship & Grow

Add referrals and a revenue dashboard, then deploy your AI product.

⏱ 11 min read📅 Updated 2026-07-25📊 Code examples throughout

Referrals for growth

import larz.referrals as referrals; referrals.enable(app, reward="20%")
url = app.referrals.url(req.subject)   # they earn 20% when a referral upgrades

Watch the revenue

import larz.analytics as analytics
analytics.enable(app, token="secret")   # MRR, churn, LTV at /larz/admin/revenue

Deploy

gunicorn -c deploy/gunicorn.conf.py app:app   # swap the mock provider for Stripe/etc

You built a monetized AI product

  • An AI endpoint, priced, metered, with BYOK and rate limits โ€” one framework.
  • Referrals and revenue analytics come for free.
  • Now go get your first paying user. โšก

More in this course

Course home → · Browse all courses →