Chrome Hub

How to Configure Chrome Hub

  1. Ensure you use SmartHub with HTTPS.
  2. Open the JavaScript file content-script.js at \integrations\chrome\chrome-extension\.


  3. Change the following line at the top of the file depending on your SmartHub site URL: 
    • smartHubIndexURL: "https://my-smarthub-site-url/{name of search index page}.html"

    • smartHubResultsUrl: "https://my-smarthub-site-url/{name of search results page}.html"

  4. Open the JavaScript file popup.js at \integrations\chrome\chrome-extension\.
  5. Change the following line at the top of the file depending on your SmartHub site URL: 
         const resultsPageURL = "https://my-smarthub-site-url/{name of search results page}.html"
         const indexPageURL = "https://my-smarthub-site-url/{name of search index page}.html"
  6. Open your Google Chrome browser and navigate to chrome://extensions/
  7. Check "Developer Mode" (top right side of the page).
  8. Click "Load Unpacked" (top left side of the page) and select "...\integrations\chrome\chrome-extension" (you may move the "chrome-extension" directory anywhere on your drive).
  9. Open a new Chrome tab.
  10. The SmartHub extension can be found by its specific icon  (top right side of the page).
  11. Clicking the icon will reveal the dialog:

     
  12. The "Toggle Panel" button will open/close the SmartHub panel.
    1. The panel loads the page at smartHubURL.
      Note: Ensure pop-ups are enabled on the current web browser page if you have authentication enabled in SmartHub.
  13. The "Open In New Tab" button opens the page at indexPageURL in a new tab.