- Installing Your Chatbot
- LMS Platforms – Koha
LMS Platforms
How to add an AI chatbot to Koha
How to add your custom trained AI chatbot to your Koha library website.
You want to embed your custom trained AI support agent in your Koha library website OPAC page. Here’s how to add an AI support agent to Koha with AI Chatbot.
Koha is a free and open-source Integrated Library System (ILS) designed to help libraries of all sizes manage their collections, cataloging, circulation, and patron services. It’s known for being relatively easy to customize and adaptable to various library needs.
Add your AI support agent to your Koha website
- A bit of information:
OPAC stands for Online Public Access Catalog, which is an online database of materials held by a library or group of libraries. All references to OPAC means this is what the online user (visitor or registered patron) will see, thus when you add the AI support agent to the OPAC preferences, it will be available on all the pages displayed for online users.
In AI Chatbot
- Please note:
Log into your AI Chatbot account and select your agent from the dropdown menu at the top, click on the Install Agent section in the sidebar, select the Javascript tab and then copy the function code part of the Javascript snippet (DO NOT click on Copy Code!!). You will use this later when we insert your snippet.
You will then end up with the following (The url.js part will be your specific code):
(function(){
d=document;
s=d.createElement("script");
s.src="https://sitespeak.ai/chatbots/url.js";
s.async=1;
d.getElementsByTagName("head")[0].appendChild(s);
})();
In Koha
- Log into your Koha account as administrator (or teacher/staff with admin privileges) and select Tools from the menu list
- Select HTML customizations from the list of Tools under Additional tools
- Select OPACUserJS under Additional content: HTML customizations
- Select Click to edit
- Insert the copied function part of the JavaScript snippet in the Value text box and click on Save all OPAC preferences
- Your AI support agent button will now be displayed on your Koha library website pages
- If you click on the button it will display the AI support agent dialogue
Your AI support agent has now been added to your Koha website and your visitors/patrons can start interacting with it!
Ready to automate your customer service with AI?
Join over 1000+ businesses, websites and startups automating their customer service and other tasks with a custom trained AI agent.