1) The document discusses how to integrate Drupal 8 websites with Amazon Alexa so that users can interact with websites using voice commands to Alexa.
2) The prerequisites for integration are having an internet accessible Drupal site with a valid SSL certificate and an Amazon developer account.
3) The steps to integrate involve installing an Alexa module for Drupal using Composer, enabling the module, filling in credentials, and creating a custom module to handle Alexa responses.
1 of 11
Download to read offline
More Related Content
Integrate drupal 8 with alexa - Rakshith
1. Integrate Drupal 8
with Alexa
Interact with Websites using Alexa
Presenter: Rakshith
Drupal Developer at Axelerant
2. Intro
We have seen many talking about integrating Drupal with Chatbots and other AI
based devices. I am here on the same lines, where I will talk about How we can
integrate Drupal with Alexa and we start interacting with websites.
What if websites could be interactive enough to literally hear your customers¨
voices, talk to them, and fulfill their wishes? Easy! It¨s now possible with modern
services like Amazon Alexa.
3. Prerequisites
- Your site should be Internet accessible
- Should have valid SSL certificate
- Developer account with Amazon
For the first two steps - we can use Pantheon. You can spin up
multiple environments with SSL free of cost !!
4. Steps to Integrate
- Set up will be much easier when we do this with
composer
- Just install the Alexa module with dependant libraries
- It uses Amazon Alexa PHP Library
- Enable the module and in module¨s alexa configuration
form - fill in the application ID (you will get it once you
create the alexa skill in amazon developer console)
5. Steps to Integrate
- Create custom module to enforce the Alexa responses
(for each of type of requests created in Alexa skill)
- We just have to subscribe for Alexa Event and send the
responses in event subscribe callback
6. Amazon Alexa Skill
- We will need to create Alexa skill in Amazon developer
console
- Alexa Skill will have associated invocation name, intents
and the utterances so that Alexa responds with relevant
data
- Endpoint needs to be configured with HTTPS
- Upon creation of skill - just note down the application ID
and fill the same in alexa module¨s configuration
8. Testing
- The integration can be tested with developer account
and device is not needed though
- Once the skill build is complete, we can test the skill
responses using Test simulator.