An example Facebook Messenger bot built with Botkit to demonstrate integration with Fuzzy.ai.
To try out the bot, add it on Messenger: https://m.me/fuzzy.ai.promobot
Either select 'Start Demo' or just say "hi".
If you want to run your own instance of the bot, clone this repository and do the following:
- Run
npm install
- Copy
env.example
to.env
and populate values: - For
PAGE_TOKEN
,VERIFY_TOKEN
andAPP_SECRET
follow the Botkit instructions for generating these values from Facebook. - Copy your Fuzzy.ai API Key from your Fuzzy.ai Dashboard to
FUZZYAI_KEY
. - Create an "Empty" agent and copy the ID to
FUZZYAI_AGENT
. - Run the bot via
npm run dev
.