To create a skill that works with an external service that requires authentication with Alexa's custom skill, I had to store the credentials to the external service somewhere. I thought it would be difficult to prepare a server to store authentication information by myself, so I gave up building custom skills, but using the AWS Cognito service, it is relatively easy to build even at the individual level. understood. However, when I first started making it, there were few pages that I could refer to and I had a hard time building it, so I summarized the procedure so that I could use it as my own memorandum.
Build Alexa custom skills using data from external services that require authentication
--Alexa custom skills
1. Create a custom skill call part with Alexa 2. Create a function called from Alexa in Lambda Python 3.8 3. Completion of custom skills by linking Lambda and Alexa 4. Create a user pool to save authentication information with Cognito 5. Fixed Alexa and Cognito to be account-linked so that credentials can be used in Lambda functions
Recommended Posts