Setup and Developing

Overview

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

Creating and Managing Projects

To develop for Actions on Google, you start by creating an Actions Project. Having a project will allow you to access the developer console to build and publish your app. Visit the Actions Console to get started.

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 app.

If you want to build your assistant app on top of an existing cloud project or an existing firebase project, choose that project in the drop-down menu inside the create 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 app 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 app, add them as a project Viewer.

Updating Apps

The publishing process takes the current version of the draft and makes a "copy" to publish.

In order to publish your draft through the console, you'll want to update the draft with Actions on Google and make it available to use in the Actions Console. The console is where you will manage and publish new versions of your app.

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

    ./gactions update --project PROJECT_ID