Skip to content

Latest commit

 

History

History
51 lines (36 loc) · 2.52 KB

File metadata and controls

51 lines (36 loc) · 2.52 KB

Cake Walk

Module 4: Use The Settings API

The files in this folder represent how Calk Walk should appear at the end of this module. If you're stuck you can compare your files with these to figure out where you went wrong. You can also use these files to skip Module 1, 2 and 3.

If you are coming from the Cake Walk Workshop: This folder maps to Workshop Module 6**

Step-by-step Instructions

You can find the instructions here: Using the Alexa Settings API

If for some reason your code is isn't working you can check out the final version here.

When you're done, continue on to the Cake Walk Workshop Module 7 for tips on preparing your skill for certification and publication.

Contents

en-US.json


This is your skill's interaction model. You can use this file to create your voice user interface. To use this file:

  1. From the alexa developer console click on the Build tab.
  2. On the left hand side click on JSON Editor.
  3. Copy the contents of en-US.json and paste it over the contents of the editor.
  4. Click Save Model
  5. Click Build Model

index.js


This is your skill's backend code. It's the logic that handles the requests that are sent to your skill. To use this file:

  1. From the alexa developer console click on the Code tab.
  2. Open the index.js file by selecting the tab or double-clicking on the file name on the right-hand side.
  3. Copy the contents of en-US.json and paste it over the contents of the editor
  4. Click Save.
  5. Click Deploy.

package.json


This file describes your project. It includes various meta data inclucding the dependencies of your project.

  1. From the alexa developer console click on the code tab.
  2. Open the package.json file by selecting the tab or double-clicking on the file name on the right-hand side.
  3. Copy the contents of index.js paste it over the data in your browser.
  4. Click Save.
  5. Click Deploy.