Example of use of the Inbenta SDK, and webhooks / callbacks that can be used in the Chatbot. For a simpler example, please check This Gist. For API examples, please check This Other One
Simple example of a functioning chatbot SDK User Interface This example is meant to show how to:
- Custom configuration of the SDK build,
- Customize the labels to align with your desired language and personality,
- Customize some CSS to fit your colors and icons,
- How to use the /auth API method to retrieve the API Token.
Either the HTML and add it to your page, or store the JavaScript and CSS in separate files and call them from the page you want ot integrate the chatbot in.
Replace the Secret and API key with your instance's Secret and API key.
If you have useful new methods, webhooks, or better ways of doing what this sample does, please feel free to...
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
v0.1.1 Documentation updated and (some) comments added v0.1.1 Inclusion of customMethods for callbacks and getTranscripts() v0.1.0 First functional version using the createFromAccessToken(). v0.0.27 First Version in Git.