You can deploy a Now Assistant bot to the Google Assistant directory. Follow the below steps.
This requires for your Now Assistant server to be publicly accessible. Learn more
Go to https://console.actions.google.com/ and click on Add/import project.
On the next screen enter a Project name and click on Create Project.
On the next page, just click Skip to not select any presets.
Now we should be on the overview page of our new project. Click on the cogwheel icon in the top left-hand corner and then Project settings.
Now take a note of your Project ID as it will be required in the next step.
We have prepared a configuration file. Download this from our Github repo.
Open the file and in
line 43, change the URL to match the Public Server URL of your Now Assistant server, i.e.
To upload our modified configuration file we will need to use a command prompt (or Terminal on a Mac).
cmd promptas Administrator On a Mac: Open Terminal
chmod +x gactionsto make the binary file executable
$ gactions update --action_package google.assistant.bot.action.json --project <Your-Google-Project-ID>On a Mac: Then enter
./gactions update --action_package google.assistant.bot.action.json --project <Your-Google-Project-ID>
<Your-Google-Project-ID>is the Project ID as noted under step 1
Gactions needs access to your Google account.... This means you need to follow the link to authenticate with Google and paste the code you are given back into the command line.
Now we want to give our project an invocation name. So please go to Invocation and follow these steps:
To test if the connection is established we need to enable a testing mode in Now Assistant.
Now we open the Simulator and select the Draft version of our app for testing. Say "Talk to Now Assistant" to get started.
Your invocation name would be different if you have entered something else under step 4.
The expected response from Now Assistant should be: "I'm sorry, I did not understand: Talk to Now Assistant".
This means the connection is established, even though the response is non-sensical at this point.
In order for Now Assistant to accept requests by Google Assistant we need to set up a new API Client.
Now we need to set up account linking on the Google side.
Paste value _A_