Google Assistant chatbots are instances of Google Actions. To get started, visit https://console.actions.google.com and create a new project:
In the next screens, select Custom then Blank Project, and click on Start building.
In the next screen, you will be able to create a display name, which is also the default invocation for your action. Read more about how to pick the right display name here!
Finally, you will also need to retrieve your action project's ID, which you can easily copy from the URL:
In CSML Studio, create a new Google Assistant channel from the Channels page and fill in the requested fields. The name and description can differ from the name of the Action, they are only visible inside CSML Studio!
After you created the channel, download and install the gactions CLI
utility from this page: https://developers.google.com/assistant/actions/actions-sdk/. This tool will let you "bind" your gactions and the CSML studio project, using the gactions.json
package that you can download on the channel's configuration page:
You will need to execute the command on a terminal and follow the instructions to authenticate your requests with Google. Concretely, after you execute the command, you will need to click on the link that the command will prompt you to visit, login with your Google account, and copy and paste the given code:
After you have done this process, you can go test the bot in the Test panel: