1.0.7 • Published 6 years ago
alexaworld-skilldebugger v1.0.7
SkillDebugger
Debug alexa skills for node on your local development environment.
Prepare
- Install nodejs
- Install VS Code
- Install AWS CLI
- Clone this repo.
- Open VS Code on the root folder
- Open "Integrated Terminal"
- Install alexa-sdk -> npm install --save alexa-sdk
Configure AWS Lambda execution. EU (Irland), eu-west-1
- Create a execution role IAM->Roles
- Add a Users and finsih'LocalDeveloper' and check 'Programmatic access' the dialog.
- Store 'Access key ID', 'Secret access key' and copy 'User ARN'
- Open the previously (Step 1) created Role and select the tab 'Trust relationships' and open 'Edit Trust Relationship'
- Add copied User ARN to "Statement:Principal:AWS" and 'Update Trust Policy'
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"AWS": "copied User ARN",
"Service": "lambda.amazonaws.com"
},
"Action": "sts:AssumeRole"
}
]
}
configure your local AWS CLI
- start command line and execute
aws configure
AWS Access Key ID [None]: YOUR Access key ID
AWS Secret Access Key [None]: YOUR Secret access key
Default region name [None]: eu-west-1
Default output format [None]: json
Create a Alexa Skill
- Create a skill with name 'SampleSkill1'
- Create a Custom Intent named 'SampleIntent' ..
Configure our project
..
More
Create execution role https://github.com/alexa/interactive-adventure-game-tool#how-to-get-started