Getting Started with the Playground Application
The fastest way to get started with Genesys Web Engagement is to use the Playground application, which is included in the Genesys Web Engagement installation package; after you install GWE, you can find the application in the GWE_installation_directory\apps\playground folder. Then you just build and deploy it and you are ready to work with the features of Genesys Web Engagement.
Read below to learn more about the application or continue on to "Installing Genesys Web Engagement" for installation details and running the Playground application.
Installing Genesys Web Engagement
In order to use the Playground application, you must first install and configure Genesys Web Engagement and its related components, and then build and deploy the Playground Application.
For details, see the steps below:
- Review the prerequisites and make sure your Genesys environment meets the requirements.
- Install the Genesys Web Engagement Servers. These procedures describe how to install and configure the Frontend Server and the Backend Server.
- Make sure you have properly configured agents and add agent shortcuts to the Web Engagement Chat and Web Engagement Voice agent groups: In Genesys Administrator, navigate to Provisioning > Accounts > Agent Group, and select Web Engagement Chat. Go to the agent tab and click Add to add the agent to the group. Repeat these steps for the Web Engagement Voice agent group.
- Install the Plug-in for Interaction Workspace. You can install this plug-in if you want to enable chat and web callback engagement features so you can see Web Engagement from the agent's perspective when you test the Playground Application.
- Install the Plug-in for Genesys Administrator Extension. You can install this plug-in if you want to create or modify categories when you test the Playground Application.
- Go to the apps\playground\addons\demo\war\html\ folder and open the instrumentation.html file in an editor. Modify the following lines to replace demosrv.genesyslab.com with the FQDN of your host:
- var frontendDefault = 'http://demosrv.genesyslab.com:8081';
- var frontendSecure = 'https://demosrv.genesyslab.com:8443';
- var backendDefault = 'http://demosrv.genesyslab.com:9081';
- Save your changes and close the file.
- Build and Deploy an Application. To complete these procedures, make sure you use the application name playground.
- Make sure the components in your Genesys environment are running:
- Start the Web Engagement Servers.
- Login any agents from the Web Engagement Chat or Web Engagement Voice agent groups.
Congratulations! You are ready to run the Playground application.
Running the Playground Application
You can now run the application in any web browser or the InTools application — a GWE tool that allows you to work with the DSL and view events.To launch InTools, navigate to GWE_installation_directory\tools\intools\. Take the intools.crx file and drop it into the Extensions page of your Google Chrome or Chromium browser. Click the Genesys Web Engagement bookmark in the toolbar and select Playbround to launch the Playground application.
To open the Playground application from a web browser, navigate to http://frontend_host_name:frontend_port/playground/PG.html.
- frontend_host_name — The name or IP address of the host for the Frontend Server.
- frontend_port — The default port for the Frontend Server.
For example, http://198.51.100.12:8081/playground/PG.html
Example: Web Chat End-to-End
Complete the steps below for an example of an end-to-end scenario for proactive chat.
- Make sure the Playground application is open and you have a logged in and ready agent in either the Web Engagement Chat or Web Engagement Voice agent groups.
- Click Engage! next to the Singleton business rule.
- The chat pop-up appears. Click Chat.
- Fill out the registration form and click Start Chat.
- On the agent side, accept the chat. You just walked through your first proactive engagement!