actions-on-google / actions-builder-hello-world-nodejs

Hello World sample (using Actions Builder) in Node.js

Home Page:https://developers.google.com/assistant/conversational/overview

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Actions on Google: Hello World Sample

⚠️ Warning: Conversational Actions will be deprecated on June 13, 2023. For more information, see Conversational Actions Sunset.

Prerequisites

  1. Node.js and NPM
  2. Install the Firebase CLI
    • We recommend using MAJOR version 8 , npm install -g firebase-tools@^8.0.0
    • Run firebase login with your Google account

Setup

Actions Console

  1. From the Actions on Google Console, New project > Create project > under What kind of Action do you want to build? > Custom > Blank project

Actions CLI

  1. Install the Actions CLI.
  2. Navigate to sdk/settings/settings.yaml, and replace <PROJECT_ID> with your project ID.
  3. Run gactions login to login to your account.
  4. Run gactions push to push your project.
  5. Run gactions deploy preview to deploy your project.

Running this Sample

  • You can test your Action on any Google Assistant-enabled device on which the Assistant is signed into the same account used to create this project. Just say or type, “OK Google, talk to my test app”.
  • You can also use the Actions on Google Console simulator to test most features and preview on-device behavior.

References & Issues

Contributing

Please read and follow the steps in the CONTRIBUTING.md.

License

See LICENSE.

About

Hello World sample (using Actions Builder) in Node.js

https://developers.google.com/assistant/conversational/overview

License:Apache License 2.0


Languages

Language:JavaScript 100.0%