1

Create a production account

  1. Create a production account at console.rye.com.
  2. Copy your Production API key from the Account page.
  3. Get Rye’s live Stripe publishable key (you’ll use it to tokenize cards on the client).
2

Set production environment variables

Update your deployment environment to use production values.
RYE_API_KEY=                                 # From https://console.rye.com/account
RYE_API_BASE=https://api.rye.com             # Production base URL
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=pk_live_51LgDhrHGDlstla3fOYU3AUV6QpuOgVEUa1E1VxFnejJ7mWB4vwU7gzSulOsWQ3Q90VVSk1WWBzYBo0RBKY3qxIjV00LHualegh # Rye’s live publishable key
3

Set up webhooks (optional)

If applicable, set up webhooks for your production domain.
  • Set the production webhook endpoint in the Rye Console.
  • Set the production webhook signing secret in your server config based on the signing secret in the Rye Console.
4

Enable HTTPS and app hardening

Ensure your application is secure and compliant.
  • Force HTTPS.
  • Review CORS to allow only your production origin(s).
  • Add a CSP, secure cookies, and rate limiting (or WAF) at the edge.
5

Observability and alerts

  • Emit metrics for key events: intent created, awaiting_confirmation, confirmed, completed/failed.
  • Add error tracking on the server and client.
  • Create on-call alerts for elevated failure rates.
6

Cutover test plan

  • Run an end-to-end smoke test with your team using a low-risk product.
  • Validate: offer totals, tax/shipping, confirmation path, and post-order updates.
  • Have a rollback plan (env toggle back to staging).