UserKit home page
UserKit
Search...
⌘K
Sign up
Sign up
Search...
Navigation
Quickstart
Identifying Users
Docs
Website
GitHub
Quickstart
Installation
Enable Capabilities
Mic & Camera Usage
Configuring the SDK
Identifying Users
Making Calls
SDK Reference
configure()
identify()
On this page
Best Practices
Quickstart
Identifying Users
Before making calls, you need to identify the current user to UserKit. This associates the app session with a specific user account.
name
and
email
are both optional.
Swift
Objective-C
Copy
UserKit.
shared
.
identify
(
id
:
"1"
,
name
:
"Example User"
,
email
:
"example@user.com"
)
Best Practices
Do
not
make your user IDs guessable – they are public facing.
Ensure the id is
unique per user
.
Do
not
use the device id for user ids - this will result in multiple user records as the device ids rotate.
Setup done
Time to make your first call.
Configuring the SDK
Making Calls
Assistant
Responses are generated using AI and may contain mistakes.