This add-on is operated by PRESBOT
Create a reliable, no-code chatbot profile and embed on your personal website.
Presbot
Last updated February 14, 2022
This is a draft article - the text and URL may change in the future. This article is unlisted. Only those with the link can access it.
The Presbot add-on is currently in beta.
Table of Contents
Presbot is an add-on to create a reliable, no-code chatbot profile and embed on your app or website.
Presbot is a simple rule based bot, which means that responses are actually provided by the creator in the form of training q&a. Once provisioned, you can use the credentials provided to update and train you chatbot at presbot.com. Creating a chatbot is a simple 2 step process. Once complete the provided snippet can be added to the <head> tag of your website to embed your chatbot.
In addition to the embed code, users also get a personal landing page where other users can interact, like and send private messages. All interactions are logged on your personal dashboard. Presbot supports multiple use cases, such as a personal chatbot profile, a resume bot, a community bot, a FAQ bot, a showcase, an insurance agent, a real estate broker’s agent and so on.
Provisioning the add-on
Presbot can be attached to a Heroku application via the CLI:
$ heroku addons:create presbot
Creating presbot on sharp-mountain-4005... free
Your add-on has been provisioned successfully
After you provision Presbot, the PRESBOT_EMAIL
, PRESBOT_HANDLE
and PRESBOT_PASSWORD
config vars are available in your app’s configuration. PRESBOT_EMAIL is the email used to registed your Chatbot, PRESBOT_HANDLE is the username assigned to your Presbot account and PRESBOT_PASSWORD is your password to manage your chabot. You can confirm this via the heroku config:get
command:
$ heroku config:get PRESBOT_EMAIL
$ heroku config:get PRESBOT_HANDLE
$ heroku config:get PRESBOT_PASSWORD
After you install Presbot, your application should be configured to fully integrate with the add-on.
Embed on your website
Add the generate script tag to your website’s head tag to embed your chatbot. The code snippet is unique and personalized to each chatbot, the following is just a sample.
<!-- Start of Async Presbot Code --->
<script async data-chaturl="4-jlangley/embed/chat"
data-cssurl="presbot-widget.css"
data-imgurl=7756581.jpeg
src="presbot-widget.js">
</script>
<!-- End of Async Presbot Code -->
- Takes less than a minute to add to your website
- Does not conflict with your css/styles
- Loads instantly
- Personalized, updates reflect instantly
Local setup
Environment setup
After you provision the add-on, it’s necessary to locally replicate its config vars for your development environment to operate against the service.
Use the Heroku Local command-line tool to configure, run and manage process types specified in your app’s Procfile. Heroku Local reads configuration variables from a .env
file. To view all of your app’s config vars, type heroku config
. Use the following command for each value that you want to add to your .env
file:
$ heroku config:get PRESBOT_EMAIL -s >> .env
$ heroku config:get PRESBOT_HANDLE -s >> .env
$ heroku config:get PRESBOT_PASSWORD -s >> .env
Warning: Credentials and other sensitive configuration values should not be committed to source-control. In Git exclude the
.env
file with:echo .env >> .gitignore
.
For more information, see the Heroku Local article.
Service setup
There is nothing to set up after you have provisioned Presbot!
Dashboard
For more information on the features available within Presbot, please see the DEV blog at presbot.com/blog.
The Presbot dashboard allows you to see events from the last 90 days including views and interaction history (chat log). It provides key performance indicators such as view count, likes, responses with high confidence levels (>60%) and ones with lower than that. Users can view the low quality responses to tweak the training accordingly. There’s also a widget to show trending chatbots.
We recommend that you access the chatbot dashboard via logging into presbot.com or by visiting the Heroku Dashboard and selecting the application in question. Select Presbot from the Add-ons menu.
How Presbot works
Presbot uses profile information and training data in the form of prescribed answers (aka. Boot Camp and user provided q&a (aka. advanced training) to personalize responses to each question. Each user has their own personalized presbot page that can handle multiple chat sessions simultaneously. Presbot also has social networking features such as views, likes, connections and private messages.
Presbot provides comprehensive analytics on the user dash which include a chart for views and transcripts from the last 90 days, transctipt details, message details, questions handled vs unhandled (responded with a default) and trending chatbots. Under the hood the platform uses Levenshtein distance to generate best matching response for each user input.
Removing the add-on
You can remove Presbot via the CLI:
This will destroy all associated config vars, however the bot can still be accessed via visiting presbot.com. Please contact us at hello@presbot.com for instructions on removing your chatbot.
$ heroku addons:destroy presbot
-----> Removing presbot from sharp-mountain-4005... done, v20 (free)
Support
All Presbot support and runtime issues should be submitted via one of the Heroku Support channels. Any non-support related issues or product feedback is welcome at hello@presbot.com.