> ## 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 AppsFlyer with Rey

> Find your AppsFlyer Dev Key and iOS App ID, then add them to your Rey app.

Connect AppsFlyer to Rey after you have created your AppsFlyer account and registered the mobile apps you support.

## Find your AppsFlyer credentials

In AppsFlyer, open the relevant app and go to **App Settings**.

* Copy the **Dev Key** from **App Settings → Dev Key**. This account-level key is used for your AppsFlyer integration.
* For iOS, copy the **App ID** from **App Settings → App ID**. Rey needs this value for the iOS version of your app.

<Warning>
  Keep your Dev Key private. Do not add it to source code or share it publicly.
</Warning>

## Add the credentials in Rey

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

  <Step title="Add the iOS App ID">
    If your app supports iOS, paste the value from **AppsFlyer → App Settings → App ID** into the **App ID** field.
  </Step>

  <Step title="Add the Dev Key">
    Paste the value from **AppsFlyer → App Settings → Dev Key** into the **Dev key** field.
  </Step>

  <Step title="Save and confirm">
    Save the integration. Rey will use these credentials when it initializes AppsFlyer in your published app.
  </Step>
</Steps>

<Tip>
  Use the same Dev Key for the apps in your AppsFlyer account. The iOS App ID is specific to the iOS app you registered.
</Tip>
