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

# Superwall

> Receive paywall, trial, subscription, and purchase activity from Superwall.

Superwall sends mobile monetization events through a workspace-specific webhook.

## Connect Superwall

1. Open **Sources → Superwall**.
2. Enter the application Bundle ID.
3. Add the optional Superwall Project ID when your setup uses it.
4. Copy the Datalyr webhook URL into Superwall.
5. Add the webhook secret for signature verification.

## Pass Datalyr identity

Use the mobile SDK helper to retrieve attributes for Superwall:

```ts theme={null}
const attributes = Datalyr.getSuperwallAttributes()
```

The iOS SDK exposes the equivalent `getSuperwallAttributes()` helper. Set these attributes in Superwall before presenting the paywall when you need the purchase linked to the current Datalyr identity.

## Verify

Test a paywall outcome in the correct app environment. Confirm the Bundle ID, customer identity, product, value, and currency in **Events**.
