Skip to content

Latest commit

 

History

History

ChatSDKSamples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

ChatSDK Authentication

Basic Swift app showcasing Chat SDK with authentication setup.

Getting started

JWT

  1. Install JWT gem gem install jwt
  2. Retrieve JWT Secret from Chat Dashboard
  3. Paste into script
  4. Run script

Application

  1. Make sure you have CocoaPods installed.
  2. Run pod update
  3. Fill in the Zendesk credentials in the AppDelegate.
  4. (Optional) Change the zendesk themeColor in ViewController.swift.
  5. Run the app
  6. Paste the token into the text field.
  7. Press set token.
  8. Start chat
  9. Observe on Chat dashboard that the user is authenticated. See the documentation for more info.