---
title: Context
slug: sdk/ios-sdk-context
createdAt: 2026-11-04T11:40:24.981Z
---

## Set Context

````swift
KindlySDK.setNewContext(_ context: [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   
```swift
KindlySDK.clearNewContext()
````
