Before you can connect your app to your bot in AWS Lex, you have to set up authorization. Cognito can handle that very well for authorized or unauthorized users. You need to create an Identity Pool in Cognito. Once that's done it generates code for you to use in your app for various platforms including iOS.
- [Instructor] All right, well now we've published the bot, … we want to be able to connect to it from a client app. … In this course we're going to be using a simple little iOS app, … but any client that needs to connect to your bot … is going to have to make sure that it's … connecting to it in a secure way. … For that we're going to use Cognito. … So we're going to leave our safety zone here, … and our sweet little Lex bot world, … and we're going to go over to Cognito for a bit. … We're going to build an identity pool, … and then we're going to use that … identity pool that's created for us … to be able to connect to our bot from the app. … But it's not that big of a deal, you'll see, … it'll even give us some code generated … that we can put into our client. … So I'm going to go up to the services, … and I'm going to select Cognito, … or I can type cog and select cognito, … and I'll click Manage Identity Pools. … We don't have any, … so it says well, why don't you create one? … And we say, fine, great, we will! …
- Introducing Amazon Lex
- Lex API and CLI
- Creating the bot
- Testing the bot
- Defining slot types
- Configuring input and confirmation prompts
- Designing responses
- Publishing the bot
- Creating and connecting lambdas
Skill Level Advanced
AWS Machine Learning by Examplewith Jonathan Fernandes1h 23m Intermediate
Creating chatbots1m 36s
1. AWS Lex Overview
2. Creating a Bot
3. Slots and Slot Types
6. Functionality with Lambdas
Next steps1m 13s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.