Alexa Skills setup - Anglia-Ruskin-IoT-Labs/avs-device-sdk GitHub Wiki
Create Alexa Skills for the Interpreter Server
1. Create Accounts for Alexa Skills kit and Amazon Lambda Registration
- Register to Lambda.
- Register at the Amazon Developer Account Registration Page
2. Create a skill for the iMirror
- Create a new custom skill, with name 'iMirror' on this link: Skills Console.
- Copy the Contents of avs-device-sdk/interpreter-server/alexa-skills/iMirror/alexa-skill.json to Interaction/JSON Model entry
Save and build the skill. At the 'Endpoint' Menu point choose AWS Lambda ARN and take a note at Your Skill ID.
3. Create Lambda skill for iMirror
- On this website Lambda Functions webpage click on the 'Create function' button.
- Select 'Blueprints' from the options
- Search for 'alexa' below, choose 'alexa-skills-kit-color-expert-python' and click on configure.
- Name your function, 'create new role' as a Role, then choose 'lambda_basic_execution' from the existing roles.
- Skill ID verification should be enabled, paste the Skill ID here what you got from Alexa Skills Kit from instructions number 2.
- Copy the Source Code from avs-device-sdk/interpreter-server/alexa-skills/iMirror/lambda_function.py file to the 'Lambda Function Code' Section, overwrite everything what is in there.
- Click Confirm, and on the right top of the next page there is a string called ARN - take a note of it.
4. Link the function and the skill together
- Go back to Alexa Skills kit, and at the 'Endpoint' Menu point choose AWS Lambda ARN and paste the ARN ID to the 'Default Region' section
- Save and build, now the skill and the code are linked and you can start testing it.
5. Other Skills
- Repeat the Same process with other skills located in avs-device-sdk/interpreter-server/alexa-skills/ folder