Setup (Dialogflow)

This page goes over creating your Actions project and configuring a Dialogflow agent.

Set up Firebase

You can host both your webhook logic and web app for your Interactive Canvas Action with one tool: the Firebase CLI. Before creating your Actions project and Dialogflow agent, follow the instructions on Get started with Firebase hosting to install and set up Firebase.

Create a project

  1. Go to the Actions console.
  2. Click New project.
  3. Enter a name for your project and click Create project.
  4. Click the Games & fun card.
  5. Click the Conversational card.

  6. Click Deploy in the top menu. Then, click Directory information.

  7. At the bottom of the page, check the option under Interactive Canvas.

  8. Click Overview in the top menu.

  9. Click Build your Action then Add Action(s).

  10. Click Add your first action.

  11. Under Built-in intents, select Play game and click Get started in Dialogflow.

Configure the Dialogflow agent

  1. On the agent creation page, confirm the default language, time zone, and name for the agent and click CREATE.

  2. On the Intents page, click on Default Welcome Intent.

  3. At the bottom of the page, click Fulfillment to expand the section.

  4. Click Enable webhook call for this intent.

  5. Click SAVE.