
Prerequisites
- Access to Amazon Alexa.
Restrictions
- This Endpoint uses the Alexa NLU Connector, meaning all Natural Language Understanding (NLU) is processed by Amazon’s NLU engine. Consequently, the Cognigy.AI NLU model can’t be used in this configuration.
- Amazon Alexa passes only the intent name to the Cognigy.AI Flow, not the actual user input. Therefore, any Nodes that rely on user inputs, such as If Nodes, or Intent rules won’t function as intended in this setup.
Generic Endpoint Settings
Learn about the generic Endpoint settings on the following pages:Specific Endpoint Settings
Alexa Settings
Alexa Settings
Parameter | Description | ||
---|---|---|---|
Reparse Alexa Slots | Allows slots detected by Alexa to be passed to | ||
Cognigy.AI and processed by the Cognigy NLU. | Deployment | Select the Alexa | |
skill you configured on the Amazon Alexa side. You can also log in to Amazon | |||
from the My Profile page. Once | |||
logged in, you will be able to select the Alexa Skill you want to connect | |||
with your Cognigy.AI Endpoint. After selecting a skill, click the Deploy | |||
button to configure your skill to use this Endpoint when invoked. |
How to Set Up
1. Create an Alexa Endpoint
1. Create an Alexa Endpoint
- In the left-side menu of your Agent, click Deploy > Endpoints.
- On the Endpoints page, click + New Endpoint.
- In the New Endpoint section, do the following:
- Select the Alexa Endpoint type.
- Specify a unique name.
- Select a relevant Flow from the list. Save changes.
- In the Endpoint, go to the Alexa Settings.
- Click Login With Amazon and log in to your Amazon Developer Account.
2. Create an Alexa Skill
2. Create an Alexa Skill
- Go to the Amazon Developer Portal. 1. In the Amazon Developer Portal, click
the Alexa tab and select Create Skill. 2. Name the skill and select
the Custom model for flexibility in building the skill. Save and proceed
to the Skill configuration. 3. Add the following built-in intents to handle
Yes/No questions in your Flow’s Question Nodes. -
AMAZON.YesIntent
-AMAZON.NoIntent
You can use additional Amazon built-in intents and access them viaci.intent
in Cognigy.AI. 4. Go to the Endpoints page. In the Service Endpoint Type section, select HTTPS. 5. In the Default Region field, enter the copied Endpoint URL. From the Select SSL certificate type list, select My development endpoint is a sub-domain of a domain that has a wildcard certificate from a certificate authority. You can also configure another region if needed. Save the changes.
3. Finish Setup on the Cognigy.AI side
3. Finish Setup on the Cognigy.AI side
- Go to the Alexa Endpoint that you created previously.
- Select the target Alexa skill from the Deployment list.
- Click Deploy to automatically configure the skill to use the Endpoint.