Skip to content

Latest commit

 

History

History
16 lines (15 loc) · 1022 Bytes

README.md

File metadata and controls

16 lines (15 loc) · 1022 Bytes

dialogflow-nodejs-ml-client

Node.js client with multi language support for Dialogflow Fulfillment Library

Setup using Firebase CLI

  1. Create a Dialogflow Agent.
  2. git clone https://github.com/verscph/dialogflow-nodejs-ml-client.git
  3. Go to Settings ⚙ > Export and Import > Restore from zip using the dialogflow-agent.zip in this directory.
  4. cd to the functions directory
  5. Run npm install.
  6. Install the Firebase CLI by running npm install -g firebase-tools
  7. Login with your Google account, firebase login
  8. Add your project to the sample with firebase use <project ID>
    • In Dialogflow console under Settings ⚙ > General tab > copy Project ID.
  9. Run firebase deploy --only functions:dialogflowFulfillment
  10. 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.