LinkedIn
Copied!

Table of Contents

Updating the Alexa skill configuration

Version:

Only available versions of this content are shown in the dropdown

Update the information for the Alexa skill in the Amazon developer portal so that Pega Intelligent Virtual Assistant (IVA) for Amazon can communicate with the Alexa developer portal. You enter the skill configuration results that you generated for your IVA for Alexa, the URL for a Pega Platform instance, and the SSL certificate configuration.

Set up an Alexa channel as an IVA for Alexa. For more information, see Creating an Alexa skill definition.
  1. In a web browser, log in to the Amazon developer portal.

  2. From the list of Alexa skills, open the Alexa skill that you previously created.

  3. Click the Interaction Model section, and then click JSON Editor.

  4. Copy the intent schema content that you saved in a temporary file when setting up an Alexa channel, and then paste the data into the Intent Schema section.

    For more information, see Setting up an Alexa channel.

  5. Optional:

    n the Slot Types section, click Add, and then perform the following actions:

    1. In the Create custom slot type field, enter: LIST_OF_ANSWERS_FOR_ALL_QUESTIONS

    2. Click Create custom slot type, and then click Bulk Edit.

    3. Copy the list of answers for all questions that you saved in a temporary file, and then paste the content into the field area.

      For more information, see Setting up an Alexa channel.

    4. Click Submit.

  6. Optional:

    To set up a list of sample utterances, in the Intents section, click Add, and then perform the following actions:

    1. In the Create custom intent field, enter a name for an intent.

    2. Click Create custom intent, and then click Build Edit.

    3. Copy the the sample utterances that you saved in a temporary file in step, and then paste the content into the field area.

      For more information, see Setting up an Alexa channel.

    4. Click Submit.

  7. Click Save Model.

  8. Select the certificate endpoints for your target customers:

    1. Click the Endpoint section.

    2. For the service endpoint type, click HTTPS.

    3. In the Default Region field, enter the URL for your Pega Platform instance and its Alexa channel in the following format: https://<PEGA_PLATFORM_INSTANCE>/PRRestService/alexachannel/srv/alexa

      If a Pega Platform instance is located at the https://test.pega.com/prweb web address, enter the following string: https://test.pega.com/prweb/PRRestService/alexachannel/srv/alexa
    4. Select the type of the certificate that your organization uses.

    5. Click Save Endpoints.

  9. Set up account linking information:

    1. Click the Account Linking section.

    2. Turn on the Do you allow users to create an account or link to an existing account with you? switch.

    3. Click Implicit Grant.

    4. Turn off the Allow users to enable skill without account linking switch.

    5. In the Authorization URI field, enter the URL for your Pega Platform instance and its Alexa channel.

      Use the same Pega Platform instance and the corresponding Alexa channel as in step 8.c.

    6. In the Client ID field, enter the application ID for the Alexa skill that you saved to a file when you created an Alexa skill definition.

      For more information, see Creating an Alexa skill definition.

    7. Click Save.

In the Amazon developer portal, test the Alexa skill definition for your IVA for Alexa. For more information, see Testing the Alexa skill definition.

  • Creating an Alexa channel

    Create Pega Intelligent Virtual Assistant (IVA) for Alexa so that users interact with a Pega Platform application through voice commands to open a case or to perform other actions, such as displaying a menu of options.


0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.