onebox

Guide 15 of 27

For your agent: .md · all guides

On this page
  1. What it costs
  2. Use RevenueCat’s own Claude Code plugin
  3. Steps
  4. Where the values go
  5. Check it works
  6. Common errors

RevenueCat

Runs on: your browser (RevenueCat and App Store Connect), then your app and your server.

RevenueCat sits between your app and Apple’s in-app purchase system. The app asks RevenueCat what to show and who has paid. RevenueCat validates purchases with Apple, tracks renewals and cancellations, and can tell your server with webhooks. You do not need to parse Apple receipts. You need it only if the app sells subscriptions or other in-app purchases.

Before you start you need, in App Store Connect (app-store-connect-setup.md):

What it costs

Free up to 2,500 USD of monthly tracked revenue. Above that, 1% of tracked revenue. Checked 2026-09-28 at https://www.revenuecat.com/pricing/.

Use RevenueCat’s own Claude Code plugin

RevenueCat publishes an official plugin with an MCP server and skills for the React Native SDK, offerings and paywalls. Use it for the SDK setup, products, entitlements, offerings and paywall work:

claude plugins marketplace add RevenueCat/ai-toolkit
claude plugins install revenuecat

It signs in with OAuth in your browser, so it needs no API key. Source: https://github.com/RevenueCat/ai-toolkit. MCP docs: https://www.revenuecat.com/docs/tools/mcp

The plugin is for Claude Code. In another coding agent, you can connect the MCP server directly. See the MCP docs above.

onebox does not repeat that work. This guide covers the account and the Apple side.

Steps

  1. Make an account at https://app.revenuecat.com and create a project for your app.
  2. Create the subscription products in App Store Connect first, with the ship-ios:appstore-connect skill (subs-create) or in the web UI. Pick product IDs you will keep forever, for example com.example.myapp.pro.yearly.
  3. Make an In-App Purchase key in App Store Connect: Users and Access, Integrations, then In-App Purchase. Generate a key and download the .p8 file (once only). RevenueCat needs it to record StoreKit 2 purchases; without it, purchases can fail to record. Note its Key ID.
  4. Add the App Store app to the RevenueCat project: bundle ID, the In-App Purchase key file and its Key ID, and the Issuer ID (the same one as your App Store Connect API key). RevenueCat can also take an App Store Connect API key to import your products.
  5. Set up products, an entitlement and an offering in RevenueCat (or let the RevenueCat plugin do it). The product IDs must match App Store Connect exactly.
  6. Copy the public SDK key for the App Store app (it starts with appl_) from the project’s API keys page. It ships inside the app, so it is not a secret. Put it in eas.json env for each build profile, for example EXPO_PUBLIC_REVENUECAT_IOS_KEY.
  7. Make a sandbox tester in App Store Connect (Users and Access, Sandbox), and test a purchase, a restore and a cancellation on a real device before you submit.

Where the values go

Check it works

Common errors

Wrong or out of date? Fix it on GitHub.