# 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](https://firebase.google.com/docs/hosting/quickstart)
to install and set up Firebase.

## Create a project

1. Go to the [Actions console](https://console.actions.google.com).
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.

   ![](https://developers.google.com/static/assistant/df-asdk/interactivecanvas/images/game-type.png)
6. Click **Deploy** in the top menu. Then, click **Directory information**.

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

   ![](https://developers.google.com/static/assistant/df-asdk/interactivecanvas/images/checkbox.png)
8. Click **Overview** in the top menu.

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

   ![](https://developers.google.com/static/assistant/df-asdk/interactivecanvas/images/build-action.png)
10. Click **Add your first action**.

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

    ![](https://developers.google.com/static/assistant/df-asdk/interactivecanvas/images/create-action.png)

## Configure the Dialogflow agent

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

   ![](https://developers.google.com/static/assistant/df-asdk/interactivecanvas/images/create-agent.png)
2. On the **Intents** page, click on **Default Welcome Intent**.

   ![](https://developers.google.com/static/assistant/df-asdk/interactivecanvas/images/edit-intent.png)
3. At the bottom of the page, click **Fulfillment** to expand the section.

4. Click **Enable webhook call for this intent**.

   ![](https://developers.google.com/static/assistant/df-asdk/interactivecanvas/images/enable-webhook.png)
5. Click **SAVE**.