- Amazon Developer Account
- This sample code
If you use Alexa hosted, follow the steps:
- Create a new Alexa Hosted skill using Node.js
- Copy paste the file models/en-US.json into the json editor of the interaction model.
- Build your interaction model and skill changes.
- Go to the Code tab. Copy paste the index.js into the index.js file already in your hosted environment. (SkillCode > lambda > index.js)
- Deploy and enjoy!
- Go to the Build tab
- Click Invocation.
- Change Skill Invocation Name to your own name. For instance, "cat facts"
- Build Model
- Go to the Code tab. Find the array,
const data
. - Change the strings to your own data set!
- Deploy the code.
To start the demo say "Alexa, open space facts" or "Alexa, ask space facts for a fact"