Configuration Guide for the Shelf Chatbot Demo with Genesys Cloud

Each of the available options is described in detail below. If you require further assistance, please do not hesitate to contact us at support@shelf.io, via the live chat on the Shelf website or from the in-app chat support within the Shelf platform.


Last Update: 10-Aug 2020

1 Prerequisites

There are a couple of things required in order to start the setup process:





2 Setup

  1. Download or clone the Shelf Chatbot sample repository from GitHub to your computer.
  2. Extract the archive to a location on your computer. 
  3. Navigate to the extracted folder and open your CLI (Command Line Tool). 
  4. Install all the dependencies by running “yarn install” in the CLI.  
  5.  From the root of the repo folder open the following file widget-test.html in your code/text editor.  Modify the following fields:pureCloudEnvironment - set it to your PureCloud region, it could be “mypurecloud.com” or “mypurecloud.ie” etc.
    accountId - set it to your accountId that you’ve received from Shelf
    allowedSSPLibraryIds - set comma separated values, in which libraries to find recommendations

    You can open the Library page from the context menu on the Library Tree and then select View Library.Then copy the ID from the URL.organizationId - set it to the value you get from Genesys Cloud from the Organization Settings page, see the instructions below.See https://apps.mypurecloud.com/directory/#/admin/organization
    deploymentId - set it to the value you get from Genesys Cloud from the Widget page, see the instructions below. If you don’t have a Widget, please create one with the same settings.

    See https://apps.mypurecloud.com/directory/#/admin/integrations/widgets
    targetAddress - the name of the queue from Genesys Cloud.
  6. Save the changes in the file.
  7. Run yarn run-widget your command line tool.
  8. Navigate to the following URL in your browser - http://127.0.0.1:8080/widget-test.html and open the chat by clicking on the chat icon.
  9. Ask a question related to the content mapped by your intents in the chat..