Setup and Developing

Overview

The Actions console is the central place for all configuration, settings, and publishing related parts of Actions on Google development.

Creating and managing projects

To develop for Actions on Google, you start by creating an Action project. Having a project will allow you to access the Actions Console to build and publish your Action.

Import an existing project

You may want to import an existing project so you can share cloud and Firebase services, like Cloud functions, with your Action.

If you want to build your Action on top of an existing cloud project or an existing Firebase project, choose that project in the drop-down menu inside the Add project dialog. As you start typing, existing project names will show up. Just click on the project you want to import.

When importing a project, make sure you click on the project name listed. Once you click on the project, you'll see the Import Project button, as seen below.

Deleting a project

To delete a project, click on the settings gear and go to Project Settings, then click Delete Project.

Once a project is deleted your Action will immediately stop being served to users and any pending reviews canceled. You will have 7 days to reverse the deletion and restore the project. To do this, follow these instructions.

Adding collaborators

To add collaborators to a project, click on the settings gear and click Permissions.

From there you will be directed to the Cloud Project Management System where you can edit collaborators by clicking Add and specifying their role.

If you want someone to have full permissions, add them as a project Editor. If you only want them to be able to see the project and test the Action, add them as a project Viewer.

Updating Actions

The Actions Console is where you will manage and publish new versions of your Action. The publishing process takes the current version of the draft and makes a "copy" to publish.

In order to publish your draft through the Actions Console, you'll want to update the draft with Actions on Google and make it available to use in the Actions Console.

Dialogflow
  1. Go to the Integrations in the menu on the left and click on the Actions on Google card to activate it, if you haven't already.
  2. Set up your Explicit invocation intent and any Implicit invocation intents for your Action.
  3. Enable Auto-preview changes to ensure changes to your Dialogflow agent are reflected in your test Action.
  4. Click TEST to open the Actions console simulator and start testing your Action.
Actions SDK
  1. Navigate to the folder where your Action package file resides.
  2. Run the following command.

    ./gactions update --project PROJECT_ID