GETTING STARTED
Kore.ai XO Platform
Virtual Assistants Overview
Natural Language Processing (NLP)
Concepts and Terminology
Quick Start Guide
Accessing the Platform
Working with the Builder
Building a Virtual Assistant
Using Workspaces
Release Notes
Current Version
Previous Versions
Deprecations

CONCEPTS
Design
Storyboard
Dialog Tasks
Overview
Dialog Builder
Node Types
Intent Node
Dialog Node
Entity Node
Form Node
Confirmation Node
Message Nodes
Logic Node
Bot Action Node
Service Node
Webhook Node
Script Node
Group Node
Agent Transfer
User Prompts
Voice Call Properties
Dialog Task Management
Connections & Transitions
Component Transition
Context Object
Event Handlers
Knowledge Graph
Introduction
Knowledge Extraction
Build Knowledge Graph
Add Knowledge Graph to Bot
Create the Graph
Build Knowledge Graph
Add FAQs
Run a Task
Build FAQs from an Existing Source
Traits, Synonyms, and Stop Words
Manage Variable Namespaces
Update
Move Question and Answers Between Nodes
Edit and Delete Terms
Edit Questions and Responses
Knowledge Graph Training
Knowledge Graph Analysis
Knowledge Graph Import and Export
Importing Knowledge Graph
Exporting Knowledge Graph
Creating a Knowledge Graph
From a CSV File
From a JSON file
Auto-Generate Knowledge Graph
Alert Tasks
Small Talk
Digital Skills
Digital Forms
Views
Introduction
Panels
Widgets
Feedback Survey
Train
Introduction
ML Engine
Introduction
Model Validation
FM Engine
KG Engine
Traits Engine
Ranking and Resolver
NLP Configurations
NLP Guidelines
Intelligence
Introduction
Contextual Memory
Contextual Intents
Interruption Management
Multi-intent Detection
Amending Entities
Default Conversations
Sentinment Management
Tone Analysis
Test & Debug
Talk to Bot
Utterence Testing
Batch Testing
Conversation Testing
Deploy
Channels
Publish
Analyze
Introduction
Conversations Dashboard
Performance Dashboard
Custom Dashboards
Introduction
Meta Tags
Dashboards and Widgets
Conversations History
Conversation Flows
Feedback Analytics
NLP Metrics
Containment Metrics
Usage Metrics
Smart Bots
Universal Bots
Introduction
Universal Bot Definition
Universal Bot Creation
Training a Universal Bot
Universal Bot Customizations
Enabling Languages
Store
Manage Assistant
Plan & Usage
Overview
Usage Plans
Support Plans
Invoices
Authorization
Multilingual Virtual Assistants
Masking PII Details
Variables
IVR Settings
General Settings
Assistant Management
Data Table
Table Views
App Definitions
Sharing Data Tables or Views

HOW TOs
Build a Flight Status Assistant
Design Conversation Skills
Create a Sample Banking Assistant
Create a Transfer Funds Task
Create a Update Balance Task
Create a Knowledge Graph
Set Up a Smart Alert
Design Digital Skills
Configure Digital Forms
Configure Digital Views
Add Data to Data Tables
Update Data in Data Tables
Add Data from Digital Forms
Train the Assistant
Use Traits
Use Patterns for Intents & Entities
Manage Context Switching
Deploy the Assistant
Configure an Agent Transfer
Use Assistant Functions
Use Content Variables
Use Global Variables
Web SDK Tutorial
Widget SDK Tutorial
Analyze the Assistant
Create a Custom Dashboard
Use Custom Meta Tags in Filters

APIs & SDKs
API Reference
API Introduction
API List
API Collection
koreUtil Libraries
SDK Reference
SDK Introduction
SDK Security
SDK Registration
Web Socket Connect and RTM
Using the BotKit SDK
BotKit SDK Tutorial - Blue Prism

ADMINISTRATION
Introduction
Assistant Admin Console
Administration Dashboard
User Management
Add Users
Manage Groups
Manage Roles
Assistant Management
Enrollment
Invite Users
Send Bulk Invites
Import User Data
Synchronize Users from AD
Security & Compliance
Using Single-Sign On
Security Settings
Cloud Connector
Analytics
Billing
  1. Home
  2. Docs
  3. Virtual Assistants
  4. Channel Enablement
  5. Adding the Amazon Alexa Channel7 min read

Adding the Amazon Alexa Channel7 min read

To add Amazon Alexa as a channel to your Kore.ai bot, you must extract supported Dialog Tasks of this bot from the Configurations tab and add to your Amazon Alexa’s Skills. Additionally, you must configure your bot’s Webhook URL as your Alexa Skill Set’s Service Endpoint for the platform to receive messages.

Note: Alexa as a channel must be enabled for bots that are specifically built to work on voice-based channels. Review the following constraints before enabling Alexa as a channel for this bot:

  1. Enterprise bots that require the user’s authorization to communicate with the bot are not supported.
  2. If your dialog tasks require the user’s authorization to communicate with external systems, then the platform will push a card with URL information to the Alexa app.
  3. Intents and entities of only Published Dialog Tasks can be exported to Amazon Alexa. Ensure that your intents and entities adhere to the naming guidelines of Amazon Alexa.
  4. Not all entity types available in the Kore.ai platform are currently available in Alexa. Verify that your tasks contain Alexa-supported entities for optimal user experience.
  5. Ensure that your dialog tasks contain one or more utterances.
  6. If you want to display bot response as templates on supported devices like Echo Show, you must define channel-specific responses/prompts.
  7. Ensure that your dialog tasks contain the Bot Message node as the last node only. Alexa marks a task as completed if a bot message is displayed without expecting any input from the user.
  8. Webhook Nodes work asynchronously and are currently not supported.
  9. Amazon Alexa executes one task at a time and hence Hold & Resume functionality is not supported.

To add the Amazon Alexa channel to your bot, you must:

  1. Add a New Skill – To enable the Alexa channel to your Kore.ai bot, create a new Alexa skill in the Amazon developer console.
  2. Configure Interaction Model – Alexa skill can be built in one of the following ways:
    • Dialog Migration to extract the dialog tasks from Kore.ai and import them into Amazon Alexa’s Skills. This will entail re-import for reflecting ongoing changes in the dialog definition. Intent detection and execution are primarily controlled by Alexa.
    • Redirection to create a single intent in your skill with one SearchQuery slot that accepts user inputs and redirects them to your Kore.ai bot. Intent detection and execution are primarily controlled by the Kore.ai bot.
  3. Enable Account Linking – To access end user’s authentication details to make API calls to external services. This step is optional.
  4. Enable Webhook Integration – To integrate Amazon Alexa with your Kore.ai bot, enable webhook integration by copying the Webhook URL provided on the Configurations tab of the Amazon Alexa Channel page in the bot builder and select HTTPS as Service Endpoint type.
  5. Enable Channel – After completing the integration setup, enable the channel.
  6. Test Integration – Once the channel is enabled, to validate a successful integration, test any intent utterance using the Test tab of your Alexa Skill and check its responses for the given test utterances.
  7. Publishing Information, Privacy & Compliance, and Certification – You must publish your Alexa Skill on Alexa App and provide details for Privacy and Compliance to enable Skills Beta Testing that allows you to invite your co-developers to test your app. You must also submit your Skill to Amazon for certification to enable your skill to become visible on Alexa Skills on Amazon App Store after it is certified.

To add the Amazon Alexa Channel, follow these steps:

  1. In the Bots section of the Bot Builder, click the bot you want to add the Amazon Alexa channel to.
  2. Click on the Deploy tab to go to the Channels page.
  3. In the Channels page, click the Amazon Alexa icon under Voice Channels. The Amazon Alexa Channel page is displayed.
  4. In a new browser tab, log in to your Amazon Alexa Skills Portal.
  5. You will be taken to the Alexa Skills Kit page. Click the Console button.

    Note:To enable the Alexa channel, you must have an Amazon Developer account or register for a new account.

  6. Alexa Skills page is displayed. You can access the existing skills or click the Create Skill button to create a new one.
  7. In the Create a new skill page, enter the required information in the respective fields.
  8. Custom model needs to be added to your skill as illustrated below.
  9. Select the Alexa-hosted(Node.js) method to be added to your skill as illustrated below.
  10. Click Create Skill and select the Start from Scratch template, then click Continue with Template.

  11. Enter the captcha and click Submit. An Amazon Alexa voice skill will be processed and created.
  12. On clicking Submit, the following message is displayed.
  13. Upon skill creation, the following page is displayed.
  14. From the  Interaction Model tab in the left navigation pane, you can add intents, annotations, check the Intent History and Utterance Conflicts.
  15. Go to JSON Editor under the Interaction Model.
  16. In the JSON Editor page, you can define the intents and entities to be associated with your newly created skill. For this, go to the bot builder and click Amazon Alexa under Configured Channels in the Channels page of your bot.
  17. Click the Download File button to download the JSON file containing intents and entities of all the supported dialogs in this bot.
  18. Click Confirm in the following pop-up window. The json file is downloaded in your local directory.
  19. Go back to the JSON Editor section of your alexa skill. Copy paste the content or drag and drop the JSON file.
  20. Review to ensure that there are no errors in your code and click Save Model. Once the skill is successfully saved without errors, click Build Model.
    Note:
    It takes 2-5 mins for the Model to build. Any changes implemented in the built model would be reflected only by rebuilding the model.
  21. To enable webhook integration, click the Endpoint in the left navigation, select HTTPS as the Service Endpoint Type. 

  22. Copy the Webhook URL provided in the Configurations tab of the Amazon Alexa in the Channels page of the bot builder and enter it in the Default Region field of the Endpoint page of Alexa Console.
  23. In the Select SSL certificate type drop-down, choose the option My development endpoint is a sub-domain of a domain that has a wildcard certificate from a certificate authority.

  24. Click Save Endpoints to save the changes.

  25. From the top menu bar you can go to the Test tab to test your skill.

  26. Before you can start testing your bot on Alexa, you must complete the channel setup. Go to the Configurations tab of the Amazon Alexa channel page, review the details and select Yes; click Save to enable Amazon Alexa Channel.
  27. You can use the Test tab of your Alexa Skill to test your utterances against the integration. In the Test tab, go to the Alexa Simulator section and provide any intent utterance and click Ask <skill-name> to test the utterance.

    If you get a successful response then the integration is considered a success.
  28. Go to the Distribution tab, provide all the required details for publishing your Alexa Skill on Alexa App and click Save and continue.
  29. You will be taken to the  Privacy & Compliance page, provide all the required details and click Save and Continue.

  30. You will be taken to the Availability page,  where the Beta Test option  is enabled and this allows you to invite your co-developers to test your app.
  31. Fill the required details and click Save and Continue.

  32. You will be taken to the Validation page under the Certification tab. Click Run to validate your skill.

  33. On successful validation and certification, your skill will be visible on Alexa Skills on Amazon App Store.

Edit Amazon Alexa Channel

To edit the Amazon Alexa channel, follow these steps:

  1. Hover over the channel to modify, and then click the Settings icon to display the command menu as shown in the following image.

    Select one of the following commands to modify the channel:
  • Disable/Enable – Click Disable to temporarily disable the use of the Amazon Alexa for your bot. To enable the use of the Amazon Alexa channel, Click Enable.
  • Delete – Click Delete. On the Delete Confirmation dialog box, click OK to permanently delete the bot channel configuration.

Warning: This operation is permanent and cannot be undone.
Menu