# Prerequisites

### Prerequisites

* To obtain the access token, following method: [WebAuthn Playground](https://app.gitbook.com/o/i8m5o1sB4b1ypxs3ejFU/s/ojyihqwbM5qbwKmqdBTS/~/changes/10/feature-list/api-key)
* Replace the `YOUR_ACCESS_TOKEN` with the access token you received.
* `MPC_SERVER_ADDRESS` with your mpc server address
* `AUTH_SERVER_ADDRESS` with your auth server address
* `MAIN_SERVER_ADDRESS` with your main server address
* `YOUR_MODE` with flavor (`dev/production`)

#### Initialize the SDK

Initialize the SDK in your `Application` class:

```kotlin
val passkey = PasskeyImpl(activityContext, "API_KEY", "AUTH_SERVER_ADDRESS")
        client = MpcClient(
            context,
            "YOUR_SERVER_ADDRESS", 
            "YOUR_TOKEN",
            "YOUR_MODE",
            "AUTH_SERVER_ADDRESS",
            "MAIN_SERVER_ADDRESS",
            passkey
        ).apply { initClient() }
```

####
