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

# Set Up a Deep Link (Android)

This article explains how to set up a [Deep Link](https://developer.android.com/training/app-links/create-deeplinks) for redirecting Android players from the checkout back to your app.

To configure a Deep Link:

1. To enable deep linking, declare a custom URL scheme in your **AndroidManifest.xml** file. Locate the activity that handles your store or game logic, and add the following intent filter inside it:

   ```xml xml theme={"system"}
   <!-- Custom scheme -->
   <intent-filter android:autoVerify="true">
       <action android:name="android.intent.action.VIEW" />
       <category android:name="android.intent.category.DEFAULT" />
       <category android:name="android.intent.category.BROWSABLE" />
       <data android:scheme="{PREFIX_GAME_NAME}"/>
       <data android:host="action"/>
       <data android:scheme="https"/>
   </intent-filter>
   ```

2. This intent filter defines your deep link as `{PREFIX_GAME_NAME}://action`. For example, if your game name prefix is `my-awesome-company`, and your game name is `royal-blast`, your deep link will look like this:

   ```
   my-awesome-company-royal-blast://action
   ```

When a purchase is completed, this link redirects the player back to your app’s activity associated with that scheme.
