Learn
Build Your First Alexa Skill
Testing with Echosim.io

There are a few ways to test our skill now. The first one is the Amazon Echo Simulator Echosim.io, a browser-based interface to Alexa.


Using Echosim.io


  1. Make sure you are using Google Chrome or Mozilla Firefox. At the time of writing, other browsers (like Safari and Internet Explorer) don’t work with Echosim.
  2. Log in with your Amazon account. (Be sure to login using the same Amazon account you used to create the skill at developer.amazon.com)
  3. Click and hold the microphone button (or hold down the space bar on your keyboard to activate the microphone), and say “Open {YOUR-FIRST-NAME} {LAST-INITIAL}’s code academy”.
  4. When you let go of the button, the simulator will process your command just like an Alexa device and will respond back with the greeting message we programmed our Lambda function with. Remember the output speech?
  5. Now instruct the simulator, “Alexa, tell {YOUR-FIRST-NAME} {LAST-INITIAL}’s code academy hello”.

Congratulations! You’ve just created and tested your very own skill.

As you will see, Echosim.io is a great way to test your skills while they’re in development. One thing to note, however, is that while Echosim.io allows you to interact with Alexa, it is not a substitute for Alexa-enabled devices, like the Amazon Echo. For example, Echosim.io does not stream music or support far-field voice recognition.


Troubleshooting


If you aren’t getting a valid response, check the following:

  1. Try opening Echosim.io in a new tab.
  2. Did you copy the ARN we provided correctly into the Amazon Developer Portal?
  3. Are you calling the right invocation name?
  4. Are you saying launch, start, or open?
  5. Are you sure you have no other skills in your accounts with the same invocation name?

Testing on an Alexa Device


If you have an Alexa device that was setup using the same Amazon account as the one you used to create your skill on developer.amazon.com, your skill is now also available on your device.

On an Amazon Echo, for example, just say - “Alexa, open {YOUR-FIRST-NAME} {LAST-INITIAL}’s code academy”. You can also try, “Alexa, tell {YOUR-FIRST-NAME} {LAST-INITIAL}’s code academy hello”.

Folder Icon

Take this course for free

Already have an account?