Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Updating the Alexa skill configuration

Updated on June 16, 2021

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.

Before you begin: 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. Follow the instructions provided in the Alexa developer console to create and train the interaction model.
    For more information, see the Alexa developer documentation related to the Alexa skills kit and skill development process.
  4. Optional: In 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.
  5. 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.
  6. Click Save Model.
  7. 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
      For example: 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.
  8. 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 7.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.
What to do next: In the Amazon developer portal, test the Alexa skill definition for your IVA for Alexa. For more information, see Testing the Alexa skill definition.

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us