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 first need to create a 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.
If you've never used Google’s project system before, you'll want to create a brand new project. To do so, click on Add Project, enter a project name, and click Create Project.
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.
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.
Developing and Connecting to Action on Google
Once you create a project, you are ready to get developing.
The Actions Console will help you get started by giving you options of platforms to start start with.
Clicking on either of these cards will open a dialog with steps and links to get you started with the respective platform. You will build your actions outside of the console, but once you’re ready to publish your agent, or set up services like account linking, you’ll want to come back to the Actions Console.
Once you have finished building your assistant app draft, you will use the Actions Console to publish it. This 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.
- Go to Integrations in the menu on the left and click on Actions on Google to activate it, if you haven't already.
- Set up your Explicit invocation intent and any Implicit invocation intents for your app.
- Enable Auto-preview changes to ensure changes to your Dialogflow agent are reflected in your test app.
- Click TEST to open the Actions console simulator and start testing your app.
- Navigate to the folder where your action package file resides
Run the following command.
./gactions update --project PROJECT_ID
Once you're done, return to the Actions Console and continue to the Registration and Publishing section.