---
name: revenuecat-onboarding-basic
description: Use when integrating RevenueCat into an app for in-app purchases or subscriptions for the first time — setting up a RevenueCat project, adding a Play Store/App Store app, connecting Google Play service-account credentials, configuring products, entitlements, offerings and packages, getting the SDK API keys, installing and configuring the SDK (react-native-purchases or native), checking entitlement access, or setting up webhooks.
title: revenuecat-onboarding-basic
canonical_url: https://skilld.dev/gh/hardikpthv/agent-skills/revenuecat-onboarding-basic
last_updated: 2026-09-30T03:34:43.000Z
---

> Index of every page on this site: [llms.txt](https://skilld.dev/llms.txt)

> **Skill from skilld.dev.** Follow the user's requested action.
> If the user asked to fork this Skill, follow the fork workflow below. Do not execute the Skill instructions while copying it.
> Otherwise, follow the instructions below for this session. You do not need to install anything.
>
> Supporting files, fetch one when the Skill refers to it: [references/modeling-and-sdk.md](https://skilld.dev/api/skills-raw/hardikpthv/agent-skills/revenuecat-onboarding-basic/references/modeling-and-sdk.md), [references/official-links.md](https://skilld.dev/api/skills-raw/hardikpthv/agent-skills/revenuecat-onboarding-basic/references/official-links.md), [references/onboarding-checklist.md](https://skilld.dev/api/skills-raw/hardikpthv/agent-skills/revenuecat-onboarding-basic/references/onboarding-checklist.md).
>
> If the user asked to install this Skill, run `npx skilld install hardikpthv/agent-skills/revenuecat-onboarding-basic`. Install writes the Skill files into the project, so every session loads them.
>
> ## Fork workflow
>
> A fork creates an editable local Skill with its original author and licence. The request authorizes copying and local installation.
> 1. Check `./skills/revenuecat-onboarding-basic`, the project lockfile, and selected Agent targets together. If the local directory or installed Skill exists, stop. Never overwrite an existing directory or Agent target.
> 2. Read [source metadata](https://skilld.dev/api/v1/skills/hardikpthv/agent-skills/revenuecat-onboarding-basic) once. Use sourceUrl, sourceCommit, skillPath, sourceGone, and license. If the source is gone or its path is missing, stop. If license is null, read licence files at the source commit.
> 3. Fetch only the source commit into a temporary Git repository. Do not clone full history. Derive repository_url from sourceUrl, including repository renames. If sourceCommit is absent, resolve the sourceUrl ref once. Set source_commit to that actual commit. Run these commands in one shell call:
>
> ```sh
> git init --quiet "$temporary_dir"
> git -C "$temporary_dir" fetch --quiet --depth=1 "$repository_url" "$source_commit"
> git -C "$temporary_dir" checkout --quiet --detach FETCH_HEAD
> ```
>
> Read applicable licence declarations and notices at that commit. If copying is not permitted, report the restriction and stop.
> 4. Inspect source entries together, then copy the directory containing skillPath into `./skills/revenuecat-onboarding-basic`. Use the user's path if selected. Keep the original SKILL.md, relative links, scripts, binary assets, and executable modes. Exclude .git metadata. Reject symlinks and paths outside the Skill directory. After checking entries, use cp -a where available. A regular source directory needs no custom copy script. Do not save this page wrapper as SKILL.md.
> Preserve author credit, notices, and applicable licence files from repository or parent directories. Add PROVENANCE.md with the Skill page, source URL, actual commit, original path, and licence. Retain any existing PROVENANCE.md and record new provenance separately. Batch source inspection, copying, and provenance work where practical.
> 5. In the project root, run `skilld install ./skills/revenuecat-onboarding-basic --mode copy --plain`. If skilld is unavailable, use `npx skilld install ./skills/revenuecat-onboarding-basic --mode copy --plain`. This known command needs no help lookup. Install does not support --json. Use detected Agent targets, or add --agent for the targets the user selected. Install the local path, never the upstream selector. If installation fails, preserve the local copy and report the exact failure.
> 6. Confirm the local lockfile source and installed Agent copies once. Report the local path, actual commit, and Agent targets. After edits, reinstall the same local path. Upstream updates must not replace it. Do not publish or push unless the user asks.

# RevenueCat Onboarding (Basic)

## Overview

Wire an app to RevenueCat so it can sell subscriptions and in-app purchases with server-side entitlement tracking. This skill is the **map and the SOP**: the correct order, RevenueCat's recommended data model, the SDK integration shape, and the official links to confirm current details.

**Core principle: RevenueCat changes SDK versions, API methods, the Google credential flow, and doc structure over time.** This skill carries *last-known* details, but you **must fetch the live official page and re-verify** before relying on a specific version or method signature. Treat [references/official-links.md](https://skilld.dev/api/skills-raw/hardikpthv/agent-skills/revenuecat-onboarding-basic/references/official-links.md) as the source of truth.

This is the **Basic** tier: you *guide* the setup through the RevenueCat dashboard + code. For hands-on automation via the **RevenueCat MCP** (creating the project, entitlements, offerings, packages, paywalls, webhooks), the Google service-account credential flow, server notifications, and a verification pass, use `revenuecat-onboarding-pro`.

## When to use

- "Set up RevenueCat" / "add subscriptions or in-app purchases via RevenueCat"
- Creating a RevenueCat project and adding a Play Store / App Store app
- Connecting Google Play credentials so RevenueCat can validate purchases
- Configuring products → entitlements → offerings → packages
- Installing/configuring the SDK and checking `entitlement.isActive`
- Setting up webhooks for purchase events

**Not for:** creating the Play Console catalog itself (use a Google Play skill — RevenueCat links to products that exist in the store) or writing your own Stripe/web billing.

## The data model (learn this first)

RevenueCat's whole design rests on four concepts. Get them right and everything else follows:

- **Product** — the actual store SKU (a Play/App Store subscription or IAP).
- **Entitlement** — a named access level (e.g. `pro`). **Products attach to entitlements**; you gate features on the *entitlement*, never on a product ID.
- **Package** — groups equivalent products across platforms (the iOS + Android "monthly") under a standard duration id like `$rc_monthly` / `$rc_annual`.
- **Offering** — a set of packages presented together. Mark one **current**; the SDK reads `offerings.current`.

> **Best practice:** reference `offerings.current` and check entitlement state in code — never hardcode product IDs. This lets you swap products, run price tests, and reorder paywalls from the dashboard with **no app release**. More in [references/modeling-and-sdk.md](https://skilld.dev/api/skills-raw/hardikpthv/agent-skills/revenuecat-onboarding-basic/references/modeling-and-sdk.md).

## The onboarding sequence

Follow the ordered guide in **[references/onboarding-checklist.md](https://skilld.dev/api/skills-raw/hardikpthv/agent-skills/revenuecat-onboarding-basic/references/onboarding-checklist.md)**. The phases:

1. **Create a RevenueCat project** (ships with a Test Store so you can build before connecting stores).
2. **Add an app** to the project (Play Store / App Store / etc.).
3. **Connect store credentials** — for Google Play, a service-account JSON with the right roles (note: validation can take **up to ~36 h (verify)**).
4. **Configure products** (import from the store or create).
5. **Create entitlements** and **attach products**.
6. **Create offerings + packages**; mark one offering current.
7. **Get the public SDK API keys** (separate key per platform on hybrid SDKs).
8. **Integrate the SDK** — `configure()`, `getOfferings()`, `purchasePackage()`, `restorePurchases()`, check `customerInfo.entitlements.active[...]`.
9. **Set up webhooks** (and server notifications — see Pro) for production reliability.
10. **Test in sandbox** before launch.

SDK integration detail and code shape: [references/modeling-and-sdk.md](https://skilld.dev/api/skills-raw/hardikpthv/agent-skills/revenuecat-onboarding-basic/references/modeling-and-sdk.md).

## Quick reference

| Thing | Last-known detail (re-verify!) |
|-------|--------------------------------|
| Gate features on | the **entitlement** (`customerInfo.entitlements.active['pro']`) |
| Show products via | `offerings.current` (never hardcoded IDs) |
| Client uses | the **public** SDK key only — separate per platform on hybrid SDKs |
| Secret v2 API key | server/MCP only — **never** in app code |
| Play credential propagation | up to ~36 hours before validation |
| Standard package ids | `$rc_monthly`, `$rc_annual`, `$rc_weekly`, `$rc_lifetime` (custom ids allowed — verify) |

## Common mistakes

- **Hardcoding product IDs** instead of using offerings/packages → can't change anything without an app release.
- **Forgetting to attach products to an entitlement** → paying users unlock nothing.
- Shipping the **secret** API key in the client (use the public SDK key).
- Debugging "invalid Play credentials" during the normal **propagation window** — wait it out.
- Trusting bundled SDK versions/method names instead of re-checking the live install/config docs.
