Sign in Go Pro

Build a Google Assistant App with DialogFlow

Deploying a DialogFlow fulfilment cloud function using the Firebase client

This lesson is for PRO members.

Upgrade today to get access to all the PRO lessons.

Unlock this lesson
Autoplay

Up next

Previous

About

The DialogFlow inline editor is very limited and doesn't match a nice IDE, have source control or highlight errors. Alternatively, you can create and deploy your cloud function from the command line using the Firebase client.
In this lesson, you will learn how to create your function, deploy it, and test it using the Firebase client.

Installing nodeJS

Mac


$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
$ brew install node

Linux


curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install -y nodejs

Windows

Download and install Node.js from the download page

Installing the Firebase client


npm install firebase-client

Summary of content

  • Initializing the Firebase project
  • Configuring the Firebase project
  • Copying the code from the inline editor to the new project
  • Installing the missing dependencies in the Firebase project
  • Deploying the Firebase cloud function
  • Capturing the cloud function URL

References

DialogFlow
Fullfillment
Firebase nodeJS client
NodeJS installation

Instructor

Links

Comments

There are no comments on this lesson, start the conversation below ...

>

Lessons in Build a Google Assistant App with DialogFlow

1. Introduction to Actions on Google and using the Google Assistant
02:03
James Coggan
GDE
2. DialogFlow and the other available options of actions on Google
01:31
James Coggan
GDE
3. Creating an Google Assistant Action with DialogFlow
01:22
James Coggan
GDE
4. Creating your first DialogFlow Intent
01:09
James Coggan
GDE
5. Creating Dialog Follow up intents
01:42
James Coggan
GDE
6. Using the DialogFlow System Entities
Pro
01:04
James Coggan
GDE
7. Creating your first DialogFlow entity
Pro
01:14
James Coggan
GDE
8. Making your DialogFlow action smarter by editing the training phrases from the users usage
Pro
01:12
James Coggan
GDE
9. Having a better understanding of the Welcome and Fallback intents in DialogFlow
Pro
01:24
James Coggan
GDE
10. Ending your DialogFlow conversation
Pro
01:13
James Coggan
GDE
11. Create a DialogFlow agent fulfillment webhook using the Inline Editor
Pro
01:36
James Coggan
GDE
12. Deploying a DialogFlow fulfilment cloud function using the Firebase client
Pro
02:24
James Coggan
GDE
13. Adding JavaScript code to Firebase CloudFunction for your DialogFlow action
Pro
02:24
James Coggan
GDE
14. Creating a simple response to the user in JavaScript with Firebase Cloud Functions and DialogFlow
Pro
01:40
James Coggan
GDE
15. Creating a BasicCard UI element response with Firebase Cloud Functions and DialogFlow
Pro
01:57
James Coggan
GDE
16. Creating a Carousel of items UI element response with Firebase Cloud Functions and DialogFlow
Pro
01:57
James Coggan
GDE
17. Playing a media object to the user with a Firebase Cloud Function using DialogFlow
Pro
01:36
James Coggan
GDE
18. Playing media object and customising the Google's assistant voice using Speech Synthesis Markup Language on DialogFlow
Pro
02:58
James Coggan
GDE
19. Accessing users restricted data by requesting permission using Firebase Cloud Function and DialogFlow
Pro
02:22
James Coggan
GDE
20. Storing users data in the users storage using Firebase Cloud Functions and DialogFlow
Pro
02:09
James Coggan
GDE
21. Reading the stored data in the user storage using Firebase Cloud Functions and DialogFlow
Pro
01:58
James Coggan
GDE
22. Detecting, interacting and sending conversations between surfaces using Firebase Cloud Functions and DialogFlow
Pro
02:39
James Coggan
GDE
23. Debugging and fixing bugs in your Firebase Cloud Function
Pro
01:14
James Coggan
GDE
24. Deploying your Google Assistant Action to testing or production
Pro
01:31
James Coggan
GDE