Skip to content
Demonstrates how to use the new in-skill purchasing (ISP) features of Alexa skills by offering different packs of facts behind a purchase, and a subscription to unlock all of the packs at once
JavaScript Python
Branch: master
Clone or download
SleepyDeveloper Merge pull request #24 from melis17/patch-1
Update - link to ja-JP branch
Latest commit 341c333 Aug 12, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
.ask moved lambda uri to skill.json Dec 5, 2018
.github Creating initial file from template Apr 27, 2018
instructions Updating the ISP instructions to match the new UI Jul 23, 2019
isps.samples Corrected spelling of 'privacy' Jun 12, 2018
lambda/custom Rename ShoppingIntent to WhatCanIBuyIntent Feb 20, 2019
models Rename ShoppingIntent to WhatCanIBuyIntent Feb 20, 2019
.gitignore updated linting style, added isp sample templates, and other fixes May 16, 2018 Creating initial file from template Apr 27, 2018
LICENSE Update - link to ja-JP branch Aug 1, 2019
skill.json moved lambda uri to skill.json Dec 5, 2018

Regions: 🇯🇵

Build An Alexa Skill with In-Skill Purchases - Premium Fact

Adding premium content to your skill is a way for you to monetize your skill. This sample skill has taken the basic fact skill and has added new categories as premium content. This premium content is accessed through either a subscription or the one-time purchase of a given category. This guide walks through the setup of this skill, including the creation of the in-skill products.

Skill Architecture

Each skill consists of two basic parts, a front end and a back end.

  1. The front end is the voice interface, or VUI. The voice interface is configured through the voice interaction model.
  2. The back end is where the logic of your skill resides.

Three Options for Skill Setup

There are a number of different ways for you to setup your skill, depending on your experience and what tools you have available - Alexa Hosted, AWS Hosted, ASK CLI. For this Fact Skill, we will be using the Alexa Hosted option. If you'd like to use the AWS Hosted, or ASK CLI methods, you can check out the instructions here for the Sample Fact skill - AWS Hosted Instructions | ASK CLI instructions

Alexa Hosted

With an Alexa-hosted skill, you can build, edit, and publish a skill without leaving the developer console. The skill includes a code editor for managing and deploying the backend code for your skill. For details on what the Alexa-Hosted skills service provides, open this page in a new tab.

To Get Started using the Alexa Developer Console, click the button below:

Get Started

Additional Resources


Tutorials & Guides

  • Voice Design Guide - A great resource for learning conversational and voice user interface design.
  • Codecademy: Learn Alexa - Learn how to build an Alexa Skill from within your browser with this beginner friendly tutorial on Codecademy!


License Summary

This sample code is made available under a modified MIT license. See the LICENSE file. -->

You can’t perform that action at this time.