> ## Documentation index
> Fetch the complete documentation index at: https://novu.docs7.io/llms.txt
> Ask it with GET https://novu.docs7.io/ask?q=<keywords or question>. Short keywords rank best.
> Use these to discover all available pages before exploring further.

# Kotlin

> Connect a Kotlin application to Novu with the official server SDK to trigger workflows, manage subscribers, and send notifications from JVM code.

<Warning>
  This SDK is community maintained. Feel free to contribute on our [GitHub
  repository](https://github.com/novuhq/novu-kotlin).
</Warning>

Novu's Kotlin SDK provides simple, yet comprehensive notification management, and delivery capabilities through multiple channels that you can implement using code that integrates seamlessly with your Kotlin application.

[Explore the source code on GitHub](https://github.com/novuhq/novu-kotlin)

## Installation

The latest version can be found [on GitHub.](https://github.com/novuhq/novu-kotlin#installation)

<CodeGroup>
```xml title="Maven"
<dependency>
  <groupId>co.novu</groupId>
  <artifactId>novu-kotlin</artifactId>
  <version>{use-latest-version}</version>
</dependency>
```
```groovy title="Gradle (Groovy)"
implementation 'co.novu:novu-kotlin:{use-latest-version}'
```
```kotlin title="Gradle (Kotlin)"
implementation("co.novu:novu-kotlin:{use-latest-version}")
```
</CodeGroup>

Sync your project, and you should have the artifacts downloaded.

## Usage

```kotlin

// without changing the backend URL
import co.novu.Novu
import co.novu.extentions.environments

fun main() {
    val novu = Novu(apiKey = "NOVU_SECRET_KEY")
    val environment = novu.environments()
    println(environment)
}

```
