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

# Quick Start

This guide walks you through integrating the **TransactBridge Drop-in SDK** into your Android app.

# Integration Methods

You can integrate the TransactBridge Android Drop-in SDK in two ways:

## Option 1: Direct AAR File

1. **Download the AAR:**

   * Download dropin.aar file by clicking [here](https://cdn.transactbridge.com/sdk/android/v1.0/dropin.aar)

2. **Add the AAR to your project:**
   * Place `dropin.aar` in your app's `libs/` directory.
   * In your `app/build.gradle`:
     ```groovy theme={null}
     android {
         repositories {
             flatDir { dirs 'libs' }
         }
     }
     dependencies {
         implementation(name: 'dropin', ext: 'aar')
     }
     ```

3. **Declare Required Dependencies:**

   ```gradle theme={null}
   dependencies {
       // ... other dependencies

       // TransactBridge SDK dependencies
       implementation 'com.google.code.gson:gson:2.10.1'
       implementation 'com.android.volley:volley:1.2.1'
       implementation 'com.squareup.okhttp3:okhttp:4.12.0'
       implementation 'com.squareup.okhttp3:logging-interceptor:4.12.0'
   }
   ```

   * Sync your project with Gradle.

## Option 2: Maven Central (Coming Soon)

Once available, simply add:

```groovy theme={null}
dependencies {
    implementation 'com.transactbridge:transactbridge-sdk:1.0' // Use actual version
}
```

# Usage Example

```java theme={null}
import com.transactbridge.sdk.PaymentSDK;
import com.transactbridge.sdk.Environment;

public class MyApplication extends Application {
    @Override
    public void onCreate() {
        super.onCreate();
        PaymentSDK.initialize(this, "YOUR_PUBLISH_KEY", Environment.UAT); // Choose PRODUCTION, SANDBOX, or UAT
    }
}
```

For more details on using the SDK, see the [v1.0](/checkout.js/android-sdk/dropin/v1.0) documentation.
