Getting Started

circle-exclamation

Initialise the SDK

Initialise KapeClient once at app startup — typically in your App entry point or AppDelegate:

import KapeSDK

@main
struct MyApp: App {
    let kape = KapeClient(
        configuration: .init(
            clientId: "your-client-id",
            environment: .production
        )
    )

    var body: some Scene {
        WindowGroup {
            ContentView()
                .environment(\.kapeClient, kape)
        }
    }
}

Authenticate

Fetch Server Locations

Next Steps

Last updated