Select only one of the options below.
- Create a Dialogflow Agent.
git clone https://github.com/jholee/knut-consultingbot-nodejs.git
- Go to Settings ⚙ > Export and Import > Restore from zip using the
dialogflow-agent.zip
in this directory. cd
to thefunctions
directory- Run
npm install
. - Install the Firebase CLI by running
npm install -g firebase-tools
- Login with your Google account,
firebase login
- Add your project to the sample with
firebase use <project ID>
- In Dialogflow console under Settings ⚙ > General tab > copy Project ID.
- Run
firebase deploy --only functions:knutConsultingBotFulfillment
- Back in Dialogflow Console > Fulfullment > Enable Webhook.
- Paste the URL from the Firebase Console’s Trigger column under the Functions > Dashboard tab into the URL field > Save.
See LICENSE.md.