# Kotlin SDK (/sdks/kotlin)



The KubeMQ Kotlin SDK provides a coroutine-first client for all messaging patterns over gRPC transport with DSL builders, Flow-based subscriptions, TLS, authentication, and automatic reconnection. It requires Kotlin 2.0+ and JDK 11, 17, or 21.

## Installation [#installation]

### Gradle (Kotlin DSL) [#gradle-kotlin-dsl]

```kotlin title="build.gradle.kts"
dependencies {
    implementation("io.kubemq.sdk:kubemq-sdk-kotlin:1.0.1")
}
```

Or use the BOM for version alignment:

```kotlin title="build.gradle.kts"
dependencies {
    implementation(platform("io.kubemq.sdk:kubemq-sdk-kotlin-bom:1.0.1"))
    implementation("io.kubemq.sdk:kubemq-sdk-kotlin")
}
```

### Maven [#maven]

```xml title="pom.xml"
<dependency>
    <groupId>io.kubemq.sdk</groupId>
    <artifactId>kubemq-sdk-kotlin</artifactId>
    <version>1.0.1</version>
</dependency>
```

## Next: send your first message [#next-send-your-first-message]

With the SDK installed, continue to the [first-message tutorial](/sdks/kotlin/tutorials/first-message) to connect a client and publish and receive your first message.
