Primo VE: Adding Springshare's LibChat to Primo

Primo VE: Adding Springshare's LibChat to Primo

Can I add my Springshare LibChat widget to Primo VE?
NOTE: The Springshare LibChat widget is part of the commercial Springshare suite of products. You will need to have a subscription or trial access to set up for your library.

LibChat can be added to Primo VE using the following steps:


  1. Create a Slide-Out Widget in LibAnswers and grab the string from your Embed Code that looks like this: <div id=”libchat_YourHashString”></div> .  The Ex Libris Developer Network  will walk you through creating the Slide-Out Widget and Embed Code in Springshare's system.
  2. Download your Primo Customization Package and add the entire <div id=”libchat_ YourHashString”></div> string to your homepage_en.html file located in the “html” folder.
  3. Save the code below in your custom.js file located in the “js” folder, replacing the portion that says Hash_String_Goes_Here with the YourHashString portion of the “div id=” Embed Code.  
    1. NOTE: If you subscribe to LibAnswers through Minitex’s AskMN service you will also need to change the bolded portion in the URL from v2 to askmn:


/************************************* BEGIN libchat widget *************************************/

// Adds the chat slide out

(function() {

  var lc = document.createElement('script');

  lc.type = 'text/javascript';

  lc.src = '<Hash_String_Goes_Here>';

  var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(lc, s);


/************************************* END libchat widget *************************************/


  1. Zip the Primo Customization Package, upload, and deploy it.
As always, if you need assistance, please contact PALS staff via the PALS Support Center.

    • Related Articles

    • Primo VE: Adding a message banner

      Can I create a message banner to display at the top of each of my Primo VE pages? If campuses would like to add an optional banner, they just need to add this additional code to the custom.css file.      /* LOCAL BANNER */ body::before {     content: ...
    • Primo VE: Changing GETIT OTHER label

      I've had success changing labels in Primo, but there is one I can't seem to find.   On the items details page under the How to get it section, there is a heading called GETIT OTHER. Below the heading are the other libraries which have the item. I ...
    • Broken Link Reporting in Primo VE

      Introduced by PALS in June 2020, PALS Tech Staff (mainly Simon Mai) adapted code shared on the Ex Libris Tech Blog allowing library patrons and staff to report problems linking out to Electronic Collections from Primo VE. Originally designed for use ...
    • Primo VE: Links to MnPALS Libraries

      Institution Name Primo VE URL Alexandria Technical & Community College Anoka Technical College ...
    • Primo VE: Create a search box for my library homepage

      How do I create a search box for my Primo on my library homepage? ​Some great documentation has been created by John Daniels of Minneapolis Community and Technical College for coding Primo VE Search Widgets for your library homepage. His document is ...