This template has been made for Google Actions. Alexa support is also prepared but not tested. Feel free to elaborate.
Setup Jovo: [https://www.jovo.tech/docs/installation]
Some data will be stored in a AWS Dynamo DB. Please follow these steps to set it up:
- Create an Amazon AWS account: [https://aws.amazon.com/]
- Login to your AWS console: [https://console.aws.amazon.com/]
- Create a new Dynamo DB:
Services=>DynamoDB=>Create Table, name the tablemx3-data-dev. - Get the AWS access keys like so: https://datapath.io/resources/blog/how-to-get-your-aws-access-key-and-secret-access-key/
- Clone this repository to your local machine
- Go to the app directory and run
npm install - Go to the directory
/app. Copyconfig-example.jsand rename it toconfig.js - Set the params in
config.js. Use the AWS access keys you got above (see above:AWS, point #4) - Go back to the root directory of the app and use the command
jovo build - Zip the directory
platforms/googleAction - Go to [https://console.dialogflow.com/] and login or create an account
- Create a new agent, name it
mx3, selectEnglishas default language andCreate a new Google project - Go to
Settings(gear wheel icon), select the tabExport and Import - Use
RESTORE FROM ZIPto upload the ZIP file that was generated in step 5. - You might need to enable the Fulfillmet. Click
Fulfillmentin the left side menu und enableWebhook. Add the webhook URL you will find inplatforms/googleAction/dialogflow/agent.json - Select
Integrationsin the side menu and click onGoogle Assistant, click onTeston the bottom of the overlay. This will create a new Actions on Google Project. - Start the webhook on your local computer with the command
jovo run --watch - Start testing on
https://console.actions.google.com/project/mx3/simulator/