Skip to content

💬 Dialogflow / Actions floating chat

License

Notifications You must be signed in to change notification settings

RaheelAshraf/df-btn

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DF Button

Dialogflow on any Website

Add your Dialogflow Agent / Actions on Google to any website!

  • No dependencies, no tracking, no vurnabilities
  • Hosted on CDN
  • Powered by open-source project (Dialogflow for Web)
  • Free & open-source (licensed under MIT)

Installation

  1. Link your agent to Dialogflow Gateway Hosted
  2. Add the script in your HTML:
<script
    src="https://cdn.jsdelivr.net/gh/mishushakov/df-btn/df-btn.min.js"
    id="df-btn"
    project="dialogflow-web-v2"
    width="320px"
    height="500px"
    openText="Chat"
    closeText="Close">
</script>
  1. Configure. Properties you can change:
project - your project id on Dialogflow Gateway Hosted
width - modal width
height - modal height
openText - button text to open chat
closeText - button text to close chat
  1. (Optionally) grab the source code and make it truly yours!

Thank you!

About

💬 Dialogflow / Actions floating chat

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 97.6%
  • HTML 2.4%