Skip to main content

What is RevenueCat

RevenueCat allows you to add in-app subscriptions to your native mobile app. To get started, ask Agent to set up a subscription, connect your RevenueCat account, and Agent handles the logic and provides a test environment.

Prerequisites

Before you start, you need:
  • A Replit project created with a Mobile app
  • A RevenueCat account (only an email and password are required—no bank account or additional setup needed)

Get started

1

Ask Agent to add a subscription

Describe the subscription you want. Agent plans the integration, installs packages, and sets up RevenueCat.
Replit Workspace showing Agent responding to a prompt to add a subscription
2

Connect your RevenueCat account

Agent prompts you to connect RevenueCat. Select Connect RevenueCat to begin the authorization flow.
Agent chat showing the Connect RevenueCat banner with a Connect button
A modal confirms you are connecting to RevenueCat. Select Continue to RevenueCat to proceed.
Connect RevenueCat modal showing privacy and security information
3

Authorize Replit

On the RevenueCat authorization page, select Read & Write access and then Authorize to grant Replit access to your RevenueCat account.
RevenueCat OAuth authorization page with Read and Write access selected
4

Agent builds your subscription

After authorization, Agent creates the RevenueCat project, configures products and entitlements, builds a paywall screen, and wires up subscription logic throughout your app.
Agent summary showing the paywall screen with subscription features and pricing
Mobile app home screen showing a Premium badge for subscribed content

Test subscriptions

Replit previews use RevenueCat’s test mode. When you test a purchase in Expo Go, you see a test purchase dialog instead of a real payment flow. No money is charged.
Test purchase dialog on a mobile device showing package details and test buttons
Test purchases are safe to use during development. You can test both successful and failed purchase flows without any real charges.
Once your app is published to the App Store, purchases use real money. Make sure your RevenueCat products and pricing are correct before submitting to the App Store.

Manage subscriptions

To modify your subscription, ask Agent. For example: Agent updates your RevenueCat product configuration, paywall UI, and subscription logic to reflect the change.
Replit Workspace showing Agent modifying the subscription price from monthly to yearly

Syncing to App Store Connect

For in-app purchases to work in TestFlight and the Apple App Store, you’ll need to agree to Apple’s Paid Apps Agreement and connect your bank account. This is done through App Store Connect. You’ll need a paid Apple Developer Account. This is required if you want to publish your app to the App Store. Afterwards, you can sync your in-app purchases configurations from RevenueCat to App Store Connect directly through Replit.
1

Go to the Manage pane in Publishing

You’ll see a button to sync RevenueCat to App Store Connect.
Sync RevenueCat to App Store Connect button
This section will only show up once you have published your app to TestFlight.
2

Provide App Store Connect API key

You’ll need to go to App Store Connect to provide this key.In App Store Connect, go to Users and Access, then select the Integrations tab. In the sidebar, select App Store Connect API.When creating a key, be sure to give the key “App Manager” permissions.Download the .p8 file now—you can only download it once. The filename starts with AuthKey_ and ends in .p8.Copy the Key ID and Issuer ID shown on this page.
App Store Connect Users and Access page with numbered steps highlighting the Integrations tab, App Store Connect API sidebar link, and the plus button to create a new API key
Generate API Key dialog in App Store Connect with the name set to RevenueCat and Access set to App Manager
App Store Connect API keys page with arrows pointing to the Issuer ID Copy link and the Key ID column
3

Create an In-App Purchase API key

Repeat the previous step for an In-App Purchase API key. In the sidebar, select In-App Purchase. Then create an API key with App Manager permissions. Download the .p8 key (filename starts with SubscriptionKey_ and ends in .p8). Copy the Key ID and Issuer ID.
App Store Connect Users and Access page with In-App Purchase selected in the sidebar and an arrow pointing to the plus button to create a new key
4

Sync Products

Confirm the list of products and sync to App Store Connect.
Manage in-app purchases dialog showing a Monthly Subscription product with price, duration, and territory fields, and a Sync to App Store Connect button

Frequently asked questions

No. You only need an email and password to create a RevenueCat account. Bank account setup is handled separately through Apple or Google when you are ready to receive payouts from the App Store or Google Play.
No. During development, Replit previews use RevenueCat’s test mode. Purchases are simulated and no real charges are made. Real charges only apply after your app is published to the App Store.
RevenueCat is designed for native mobile apps. To add subscriptions to a web app, use the Stripe integration instead.
You can set up monthly or yearly subscriptions, configure pricing, manage entitlements, and build paywalls. Ask Agent to make changes—it handles both the RevenueCat configuration and your app code.