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

# Using RevenueCat

> Let RevenueCat's webhook carry your subscription events to Encore instead of forwarding them yourself.

## Overview

Encore ingests RevenueCat webhooks natively, so when RevenueCat manages your subscriptions you skip the server-side forwarding in [Configure Analytics](/publishers/web/quickstart/configure-analytics) entirely. There is no payload to construct, nothing to sign, and no event mapping.

Two alignment moves replace it.

***

## Use one id for both

Call [`identify()`](/publishers/web/sdk-reference/identify) with the same id you pass RevenueCat as `app_user_id`. This is the quickstart's stable-customer-id rule with one extra constraint: the two ids must be the same value, byte-identical.

```javascript theme={null}
import Encore from '@encorekit/web-sdk';

Encore.identify('cus_8f4kq2'); // the same value you give RevenueCat as app_user_id
```

Encore joins RevenueCat's subscription events to your offer exposures on that shared id, server-side.

***

## Point RevenueCat's webhook at Encore

Add the per-app receiver URL from your Encore dashboard's webhook settings as a RevenueCat webhook target. [RevenueCat's webhook guide](https://www.revenuecat.com/docs/integrations/webhooks) covers adding a webhook in their dashboard.

<Tip>
  Many publishers already forward RevenueCat webhooks somewhere. If yours are configured, confirm the destination URL matches the one in your Encore dashboard.
</Tip>
