App Templates
Objective
This document will help you to use a template to create a Q&A App for Amazon Alexa using the VoiceWorx platform.
Before setting up a Q&A app, you should have an Amazon, Alexa and VoiceWorx account. For steps to create these accounts, click here, here, and here respectively. Next, you need to have you Amazon security profile setup. For detailed steps to do this, click here.
Steps
Import Q&A App template
Publish App to Alexa
Activate app
Test the app
Import Q&A App Template
Download the following template file content, copy and it in notepad and save as a json file.
Go to ‘Custom Apps’ and select ‘Manage Templates’.
Click on Import Template.
Import the downloaded template from step 1. Provide template Name and Click on Save.
After the template has been successfully imported, you can see it in the Managed App– Templates list.
You can now click on ‘Create App’ button to create app using the imported template.
Fill up App Name, a short description of the app (optional) and click on ‘Create App’.
You can expect following message after successful app creation. Click on View App to view the newly created App.
Clicking on View App leads to the list of Custom Apps, select on our newly created QA App.
Publish App to Alexa
Go to Publish Tab. You can now publish the App to multiple VoiceWorx supported channels. Here, we are going to publish the skill to Amazon Alexa.
Select the Amazon LWA account to publish the skill, and click on ‘Publish to Alexa’.
Following success message shall appear.
Test the App using Simulator
Click on Go to Alexa Skill in Step 11 or Login to “developer.amazon.com” and choose the link “Alexa”.
Click on the menu “Skill Builders” and select the option “Developer Console”.
Click the “QA Skill” in the skill list page.
Click the “Test” menu.
Click the “Allow” to access your microphone.
Change the option to “Development” for the Enabled skill to Test.
Begin the test by invoking the app by saying “voiceworx assistant” and then enter the following questions created by the app. Note: The app contains answers to only the questions provided below.
What is the capital of France?
Where is the Taj Mahal located?
What is the largest country in the world?
Which is the largest state in the US?
Which planet is nearest to the Earth?
You can say ‘Goodbye’ to exit
Last updated