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

# Kotlin SDK

> Integrate Kontext ads into your Android app with the Kotlin SDK.

> [card] [Kotlin SDK](https://github.com/kontextso/sdk-kotlin)
>
> See how easy it is to integrate high-performance ads into your Android app using our lightweight SDK.

## Requirements

* Android API 26+ (Android 8.0)
* Kotlin 1.9+
* Jetpack Compose for the recommended `InlineAd` integration (View interop is available via `InlineAdView` if your app is not on Compose)

> [!NOTE]
>
> You'll need a [publisher account](https://docs.kontext.so/publishers.md#getting-started-is-easy) to obtain your `publisherToken` and placement codes.

> [card] [Installation](https://docs.kontext.so/sdk/kotlin/installation.md)
>
> Add the SDK via Gradle, configure GAID auto-collection.

> [card] [Showing your first ad](https://docs.kontext.so/sdk/kotlin/first-ad.md)
>
> Create a session, feed messages, mount an ad — the 5-minute integration.

> [card] [API reference](https://docs.kontext.so/sdk/kotlin/api.md)
>
> Every type and method exposed by the SDK.

> [card] [Guides](https://docs.kontext.so/sdk/kotlin/guides.md)
>
> Patterns and recipes: no-fill, character switching, View interop, and more.

> [card] [Example app](https://docs.kontext.so/sdk/kotlin/example.md)
>
> Run the bundled Compose demo end-to-end against your own publisher token.


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