Skip to main content

Quickstart

Get Windback up and running in five minutes.
1

Create an Account

Sign up at windbackai.com/register with email or Google OAuth.
2

Create a Project & Get API Keys

After onboarding, create your first project. You’ll receive two API keys:
Key TypePrefixUse For
Publicpub_Widget, cancel flow, webhooks
Secretsk_Server-side SDK calls, dashboard API
Keep your secret key safe. Never expose it in client-side code.
3

Connect Your Payment Provider

Add a webhook URL in your payment provider’s dashboard:
https://api.windbackai.com/api/v1/webhooks/stripe/<your_public_key>
Windback supports Stripe, Razorpay, Paddle, Dodo Payments, and custom webhooks.
4

Add the Cancellation Widget (Optional)

Add the widget to your cancellation page to capture cancel reasons:
<script
  src="https://api.windbackai.com/widget.js"
  data-api-key="pub_your_public_key"
  async
></script>
5

View Churn Events

Visit your dashboard to see incoming cancellations and failed payments. Each event shows customer details, cancel reason, and churn risk score.
6

Generate & Send Recovery Emails

Click on any churn event to generate AI recovery email variants. Review, edit if needed, and send. Track opens, clicks, and recoveries in real time.

Next Steps

Authentication

Learn about API keys and auth methods

Stripe Integration

Set up the Stripe webhook

Node.js SDK

Install the SDK for server-side use

Cancel Flow

Set up the cancellation flow