> For the complete documentation index, see [llms.txt](https://cramiumlabs.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cramiumlabs.gitbook.io/docs/sdk-mpc-android/usage-guide-for-an-mpc-wallet-app/prerequisites.md).

# 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() }
```

####
