> ## Documentation Index
> Fetch the complete documentation index at: https://docs.reyapp.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect RevenueCat with Rey

> Find the RevenueCat public SDK and secret API keys, then add them securely to your Rey app.

Connect RevenueCat to Rey after you have created your RevenueCat project and registered the platform apps you support.

## Find your API keys in RevenueCat

In RevenueCat, open your project and go to **Project Settings → API Keys**.

You need the following keys:

* **Apple public SDK key** for the iOS version of your app.
* **Google public SDK key** for the Android version of your app.
* **Web public SDK key** for the web version of your app.
* A **secret API key**, created from **New secret API key**.

<Warning>
  Never put a secret API key in client-side code or share it publicly. The public SDK keys are designed for the app; the secret API key is for secure server-side use.
</Warning>

## Add the keys in Rey

<Steps>
  <Step title="Open the RevenueCat integration">
    In your Rey app, open **App settings → Integrations → RevenueCat**.
  </Step>

  <Step title="Add the public SDK keys">
    Paste the keys for the platforms you support into the matching fields:

    * **iOS public SDK key** for Apple
    * **Android public SDK key** for Google
    * **Web public SDK key** for web

    You only need to fill in the platforms your app uses.
  </Step>

  <Step title="Add the secret API key">
    In the **Secret API key** step, paste the key created in RevenueCat. Rey stores this key securely and does not include it in your published app.
  </Step>

  <Step title="Save and confirm">
    Save the integration. When at least one public SDK key and the secret API key are present, RevenueCat is configured for your Rey app.
  </Step>
</Steps>

## Next steps

Configure products, offerings, and paywalls in RevenueCat. Rey uses the latest RevenueCat configuration when it displays purchase experiences in your app, so you can manage pricing and offerings from RevenueCat without republishing your Rey app.
