---
title: Context
slug: 01en-context
docTags: 
createdAt: 2026-09-14T23:58:02.578Z
---

## Set context

```kotlin
KindlySDK.setNewContext(context: Map<String, String>)
```

This context will be sent on **connect**, or next **message sent**, or **next button click**.

The context will be cleared automatically afterward

## Clear the context manually

```kotlin
KindlySDK.clearNewContext()
```
