Action on Google

Actions on Google lets you build apps for the Google Assistant. Your apps can help you engage users through Google Home, eligible Android phones, iPhones, and in the future, through every experience where the Google Assistant is available. Agents you create in API.AI can be used to extend that functionality, with the Actions on Google integration.

Setting Up Actions on Google

Steps for the initial setup of Actions on Google can be found here.

Setting Up API.AI

Click on the Integrations option in the left menu and then switch on Actions on Google.

Actions on Google requires an Actions on Google Developer Console project in order to complete the setup. If you've never used the developer console, you'll be asked to create a project. Click on the Create Project button then enter the desired name of the project.

If you've previously used the developer console, you'll be asked to create a new project (leave the menu on the "Create a new Google project" and click the Create button) or choose an existing project from the list.

Once the new project is created you'll need to link it in the developer console. To do this, click the Create Project button and enter a project name.

Building and Deploying Fulfillment

Since each API.AI agent has a Google Project automatically associated with it, we suggest using Google's Cloud Platform for your fulfillment hosting and deployment. Check out the following docs for how to:


On a device

You can test your agent on supported devices, such as a Google Home or an Android phone. To do this, log into the device with the same Google account you used to login to API.AI and the Actions on Google Developer Console.

In the Actions Simulator

To test your agent in the Actions Simulator:

  1. Click on Integrations in the left menu and then click on the Actions on Google tile
  2. Click the Test button.
  3. Click on the View link to navigate to the Actions Simulator
  4. Click Start to log in to your Google account, in the developer console
  5. Enter "talk to my test app" in the Input area of the simulator to begin testing your agent