---
title: Kotlin SDK
description: Official Kotlin SDK for InsForge - Android and Kotlin Multiplatform
---

import KotlinSdkInstallation from '/snippets/kotlin-sdk-installation.mdx';

The InsForge Kotlin SDK provides a native Kotlin client for interacting with InsForge services from Android applications and Kotlin Multiplatform projects.

## Installation

<KotlinSdkInstallation />

## Features

- **Database** - Type-safe CRUD operations with Kotlin Serialization
- **Authentication** - Email/password and OAuth authentication
- **Storage** - File upload, download, and management
- **AI** - Chat completions and image generation
- **Realtime** - WebSocket-based pub/sub messaging
- **Coroutines** - Full Kotlin Coroutines support
- **Jetpack Compose** - Composable functions and state management

## Platform Support

| Platform | Support |
|----------|---------|
| Android | 5.0+ (API 21+) |
| JVM | Java 11+ |
| Kotlin Multiplatform (coming soon)| iOS, macOS, JS (experimental) |

## SDK Reference

<CardGroup cols={2}>
  <Card title="Database" icon="database" href="/sdks/kotlin/database">
    CRUD operations with Kotlin data classes
  </Card>
  <Card title="Authentication" icon="lock" href="/sdks/kotlin/auth">
    Sign up, sign in, OAuth, and user management
  </Card>
  <Card title="Storage" icon="cloud-arrow-up" href="/sdks/kotlin/storage">
    File upload, download, and management
  </Card>
  <Card title="AI" icon="brain" href="/sdks/kotlin/ai">
    Chat completions and image generation
  </Card>
  <Card title="Realtime" icon="signal-stream" href="/sdks/kotlin/realtime">
    WebSocket pub/sub messaging
  </Card>
</CardGroup>
