In this step you link your Amazon Lex V2 bot with Facebook.
-
Sign in to the AWS Management Console and open the Amazon Lex console at https://console.aws.amazon.com/lex/
. -
From the list of bots, choose the Amazon Lex V2 bot that you created.
-
In the left menu, choose Channel integrations and then choose Add channel.
-
In Create channel, do the following:
-
For Platform, choose Facebook.
-
For Identity policies, choose the AWS KMS key to protect channel information. The default key is provided by Amazon Lex V2.
-
For Integration configuration, give the channel a name and an optional description. Choose the alias that points to the version of the bot to use, and choose the language that the channel supports.
-
For Additional configuration, enter the following:
-
Alias – A string that identifies the app that is calling Amazon Lex V2. You can use any string. Record this string, you enter it in the Facebook developer console.
-
Page access token – The page access token that you copied from the Facebook developer console.
-
App secret key – The secret key that you copied from the Facebook developer console.
-
-
Choose Create
-
Amazon Lex V2 shows the list of channels for your bot. From the list, choose the channel that you just created.
-
From Callback URL, record the callback URL. You enter this URL in the Facebook developer console.
-
Next step
Step 3: Complete Facebook integration with your Lex V2 bot