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

# Identify Users

> Associate users and set attributes in the Encore KMP SDK.

## Identify

Associate a user ID after authentication:

```kotlin theme={null}
Encore.identify(userId = "user_123")
```

Optionally pass attributes at the same time:

```kotlin theme={null}
import com.encorekit.kmp.models.UserAttributes

Encore.identify(
    userId = "user_123",
    attributes = UserAttributes(
        email = "user@example.com",
        firstName = "Ada",
        subscriptionTier = "premium",
    ),
)
```

## Update Attributes

Update attributes for the current user at any time:

```kotlin theme={null}
Encore.setUserAttributes(
    UserAttributes(
        city = "Austin",
        countryCode = "US",
        custom = mapOf("source" to "organic"),
    )
)
```

<Info>
  Attributes are merged — setting a single field doesn't clear others.
</Info>

## Reset

Clear user data on logout:

```kotlin theme={null}
Encore.reset()
```

***

## Next Steps

* **[Present Offers](./present-offers)** — Show retention offers at key moments
