Deploy an agent on Google Cloud

Stay organized with collections Save and categorize content based on your preferences.

This tutorial walks through the process of deploying a Dialogflow agent on Google Cloud. You will do the following:

  • Create an agent.
  • Create a webhook service.
  • Create a database used by your webhook service.
  • Host your Dialogflow agent on a webpage.

Before you begin

This tutorial assumes basic knowledge of Dialogflow. You should do the following before trying this tutorial:

  1. Read Dialogflow CX basics.
  2. Perform setup steps.
  3. Perform steps in the Build an agent quickstart guide, so you have a basic understanding of agent building concepts.

Costs

This tutorial uses the following Google Cloud products, which are billable components:

Product Pricing information
Dialogflow There is a small charge for each text request sent to Dialogflow. When your agent is not being used, there is no charge. You may also be eligible for a free trial. For more information, see Dialogflow pricing.
Cloud Functions Function invocations are free for minimal usage. Beyond that, charges are applied. When your function is not being used, there is no charge. For more information, see Cloud Functions pricing.
Spanner There are charges for maintaining an instance, storage, and network usage. When your database instance is not being used, you will be charged for the instance and storage. For more information, see Spanner pricing.
App Engine There is a free tier for minimal usage. Beyond the free tier, charges are applied. When your instance is not being used, there is no charge. For more information, see App Engine pricing.