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

# Adapty

> Map an Adapty customer to a Backapp user and read their subscription status.

Connect Adapty to send subscription updates to Backapp.

## Connect your app

1. Register the device using the [v2 authentication flow](https://docs.backapp.dev/quickstart.md#register-the-device).
2. Use the returned `user_id` as the Adapty customer user ID. Use the same ID when identifying that user before a purchase or restore. [Adapty user identification](https://adapty.io/docs/identifying-users)
3. Ask the Backapp team for the webhook URL and authorization value for your app and environment. The webhook runs on the assigned webhook host at `/api/webhooks/adapty?app=<app-slug>`. Use the app slug from your configuration.
4. Configure both values in Adapty. Keep the webhook authorization value on the server and in Adapty's integration settings. Test with a sandbox purchase before enabling production events. [Adapty webhook setup](https://adapty.io/docs/set-up-webhook-integration) · [Sandbox testing](https://adapty.io/docs/test-webhook)

## Verify the integration

After a sandbox purchase, check delivery in Adapty and confirm the expected state in [Subscription status](https://docs.backapp.dev/subscriptions.md). If the state is missing, verify the configured app slug and the event’s `customer_user_id`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.