Kustomer

The guide describes how to set up the Regal app as an embedded dialer widget within the Kustomer platform.

  1. Within your Kustomer box, generate an API Key as documented in the Kustomer docs.

  2. Once you have the API Key (please store it securely as you will not be able to read it again from the Kustomer website, if you lose it you'll have to create a new one), you'll have to hit the Kustomer API to create the private widget within your box. This is the command to do it from a terminal:

    curl --location 'https://api.kustomerapp.com/v1/apps/available' \
    --header 'Content-Type: application/json' \
    --header 'Authorization: Bearer REPLACE_THIS_WITH_THE_API_KEY' \
    --data '{
        "app":"regal_dialer_widget",
        "version":"0.0.1",
        "iconUrl":"https://cdn.regal.io/regal-128-widget-logo.png",
        "title":"Regal Dialer",
        "meta":{
          "externalQueue":"regal_dialer"
        },
        "dataSubscriptions":[
          "click-to-dial",
           "status-sync"
        ],
        "widgets":[
          {
            "url":"https://cdn.regal.io/embed-adapter/index.html",
            "icon":"https://cdn.regal.io/regal-128-widget-logo.png",
            "width":"464px",
            "height":"480px"
          }
        ]
      }'
    
  3. Once you've successfully ran that, you can go to Kustomer, and click Apps on the sidebar:

  4. Search for the Regal Dialer within the Applications Directory. Click on it and install it.

  5. The widget should now be available for all your users in Kustomer. You can open the Widget from the Widgets icon in the sidebar:

  6. You're all done! Agents can now interact with the Regal app in Kustomer.