1. Depend on the Talestreamer SDK

In the directory that contains your skill’s source code, run this:
$ npm install –save talestreamer

You should see something like this:
+ talestreamer@1.0.8
added 28 packages in 4.308s

2. Sign up for Talestreamer

Sign up for Talestreamer. You get a free trial, with no credit card required. Check out Talestreamer pricing for details.

3. Get the Talestreamer snippet from the Talestreamer dashboard

  1. Visit the API tab on the Talestreamer Dashboard
  2. Click “Create Key”
  3. Copy the Alexa snippet.

4. Paste the Talestreamer snippet into your Alexa skill

The Talestreamer snippet goes at the end of the file that defines your AWS Lambda handler function. Usually, that’s index.js.

Other Integration Options

If you aren’t using the Alexa SDK and AWS Lambda, but you are writing your skill in Javascript, you can use the Talestreamer SDK to build your custom integration.

Otherwise, you can call the Talestreamer REST API from your Alexa skill.

Next Steps

Once you’re done integrating Talestreamer with Alexa, you can start making your skill sound more awesome.