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

# Setup

> Initialize Altude with an application-owned transaction signer.

## Getting Started

The **Altude Client** provides the production Core and Gas Station APIs. The API
key selects the configured Solana environment, so use a development API key
while testing.

The Altude SDK uses Kotlin `suspend` functions for asynchronous network requests.\
Ensure these calls are made within a `CoroutineScope`.

```kotlin theme={null}
import com.altude.core.model.TransactionSigner
import com.altude.gasstation.Altude
import com.altude.gasstation.AltudeGasStation
import foundation.metaplex.solanapublickeys.PublicKey

class AppTransactionSigner(
    private val wallet: AppWallet
) : TransactionSigner {
    override val publicKey: PublicKey
        get() = wallet.publicKey

    override suspend fun signMessage(message: ByteArray): ByteArray {
        return wallet.signMessage(message)
    }
}

val signer = AppTransactionSigner(appWallet)

AltudeGasStation.init(
    context = context,
    apiKey = "myAPIKey",
    signer = signer,
).getOrThrow()
```

You can equivalently initialize through the `Altude` facade:

```kotlin theme={null}
Altude.setApiKey(
    context = context,
    apiKey = "myAPIKey",
    signer = signer,
).getOrThrow()
```

Adapt `AppWallet` to your wallet provider, hardware wallet, or other signing
implementation. Your application owns wallet creation, storage, authentication,
and key custody. The SDK keeps the configured signer reference only to request
local signatures; private keys are not sent to or managed by Altude.

Don't have an API key? Join our [Discord](https://discord.gg/9gPsQeZD7x) and we'll get you started.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.