This workshop should be run in the AWS region US-EAST-1
We strongly recommend creating a new AWS account for this workshop due to stack delete blast radius
These instructions will enable an instructor (AWS Solutions Architect or Technical Account Manager) to stand up a Building for Executives environment using CloudFormation.
CloudFormation provisions resources in both AWS
and developer.amazon.com
accounts there’s some preliminary steps below to obtain the necessary Login With Amazon (LWA) credentials.
CloudFormation requires Amazon LWA authentication details to be able to provision Alexa Skills in your developer.amazon.com account. To generate the required ClientId and ClientSecret:
Create a new Amazon Developer profile
Under the Web Settings
tab
Allowed Return URL
= http://127.0.0.1:9090/cbTo retrieve your Vendor ID:
To generate your Refresh Token:
In the ASK CLI run
ask init --no-browser
Create a new profile
The following command functionality varies between CLI version. To check your installed version type: ask --version
ASK CLI v1
ask util generate-lwa-tokens
ASK CLI v2
ask util generate-lwa-tokens --client-id "clientID" --client-confirmation "clientSecret" --scopes alexa::ask:skills:readwrite
"clientID"
and "clientSecret"
with your credentialsThis bucket does not need to be public. We are using this bucket in the facilitators AWS account and it will host the workshop build assets. Take note of the bucket name as you will use it in the next step with Cloudformation
US-East-1
team.yaml
from your S3 bucketteam.yaml
Note that each participant will need to operate in a seperate AWS account due to service limits for Personalize.