[For beginners] How to create an Alexa custom skill and link your account with Cognito's user pool

Introduction

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.

What to build

Build Alexa custom skills using data from external services that require authentication

Environment to use, etc.

--Alexa custom skills

Procedures and links

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

[For beginners] How to create an Alexa custom skill and link your account with Cognito's user pool
How to create an email user
How to use Service Account OAuth and API with Google API Client for python
[Go] How to create a custom error for Sentry
Python # How to check type and type for super beginners
[Sakura Rental Server] (For beginners) How to build an environment for Python, pyenv, and Flask. | For csh
Minimum Makefile and buildout.cfg to create an environment with buildout
How to learn TensorFlow for liberal arts and Python beginners
For beginners, how to deal with common errors in keras
[Python Kivy] How to create an exe file with pyinstaller
How to create dataframes and mess with elements in pandas
Create an alias for Route53 to CloudFront with the AWS API
How to create a heatmap with an arbitrary domain in Python
How to create a label (mask) for segmentation with labelme (semantic segmentation mask)
How to use an external editor for Python development with Grasshopper
[Python] How to create a dictionary type list, add / change / delete elements, and extract with a for statement
How to create your own Transform
[Introduction to pytorch-lightning] How to use torchvision.transforms and how to freely create your own dataset ♬
I want to create an Ubuntu chrome User Profile with Colab only
Create an integer arithmetic unit for your spaceship computer and help your sailors!
How to access data with object ['key'] for your own Python class
How to prepare an environment with different python version and package for each project with pyenv-virtualenv on Amazon Linux