Amazon Lex Chatbot for iOS using Amazon Cognito Identity Pool and AWSMobileClient from AWS Mobile SDK for iOS
-
Clone repo
-
pod install --repo-update
-
amplify init
-
amplify add analytics (to get Cognito Unauth)
-
amplify push
-
add the awsconfiguration.json file your Xcode project (one time deal)
-
Update the UNAuthenticated IAM Role associated with your Cognito Identity Pool by adding an access policy for the app users to call Amazon Lex.
-
update the AppDelegate with your bot name and bot alias
Build and run.