Basic Swift app showcasing Chat SDK with authentication setup.
- Install JWT gem
gem install jwt
- Retrieve JWT Secret from Chat Dashboard
- Paste into script
- Run script
- Make sure you have CocoaPods installed.
- Run
pod update
- Fill in the Zendesk credentials in the
AppDelegate
. - (Optional) Change the zendesk
themeColor
inViewController.swift
. - Run the app
- Paste the token into the text field.
- Press
set token
. - Start chat
- Observe on Chat dashboard that the user is authenticated. See the documentation for more info.