1. Downloading sample application
  2. Downloading Sample Application Demo Video
  3. External libraries
  4. Installation
  5. Required steps

Downloading Sample Application

To download the Javascript Sample Application, go to:
Developer Dashboard β†’ SDK β†’ Spaces JavaScript Sample App with SDK and download the latest version.

Requirements

Environment requirements:
  • npm v6.14.15
  • npm install -g npm@v6.14.15

  • Node.js v14.17.6
  • Option #1: Installing with nvm
    1.1)
    curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash 
    1.2)
    nvm install v14.17.6 

    1.3)
    nvm use v14.17.6 

    Option #2: Download the right node version:
    2.1) Download the Node.js v14.17.6 executable.

Downloading Sample Application Demo Video

To download the JavaScript Sample Application Demo Video, go to:
β†’ SDK β†’ Spaces Javascript Sample App Demo Videos

External libraries

Please add both

  • AvayaClientServices-4....min.js
  • AvayaClientServices.Renderer.js

to path \src\assets\libs
and add
  • AvayaClientServicesWorker.js
to path public\libs

Installation

Use the npm to install this sample app.You must have Node.js installed, if you dont't, download it here: https://nodejs.org/en/download/

npm i && npm start

Installs the neccessary node modules and runs the app in the development mode.

Open http://localhost:3005 to view it in the browser.

Required steps

Select your authorization method, fill in the fields and save the changes Click β€œConnect” Did you previously choose any OAuth method? If not, you should be connected by now. If yes, you will have to click "Connect" once more The app should now be running

Please note: For app to work, you must have microphone connected to your computer (will be resolved)