This projects contains a sample premium app and an automated on-boarding flow in setting up the app for the PureCloud organization.
The quick sample is hosted in GH-Pages: https://mypurecloud.github.io/purecloud-premium-app/
- A working PureCloud Org with the 'premium-app-example' integration enabled.
- A user to log in with who has permissions for role/group/integration creation/deletion.
https://developer.mypurecloud.com/appfoundry/premium-client-applications.html
TL;DR: Premium Client Applications are a type of Custom Client Applications that streamline and automate monetization through PureCloud.
- Local Assets are contained inside the /docs folder. This is also the exact files that are hosted in the GitHub Pages link above.
The docs/index.js script is for testing your own modifications with NodeJS (using Express). The 'redirectUriBase' values need to be updated from docs/config/config.js before being able to run locally. (ie. https://localhost/)
If you'll be running the sample from a different host, then you'll also need to change the 'clientIds' from the config file to one that you've created(Implicit Grant Type) in your test PureCloud environment. This is for setting the valid redirectUri.
Read More: https://help.mypurecloud.com/articles/create-an-oauth-client/
For a more in-depth look into the wizard sample codebase please go to:
https://developer.mypurecloud.com/api/tutorials/premium-app-example-wizard/
- Includes checking the organization if the Premium App is enabled.
- Step-by-step procedure of informing the user what the wizard is going to create in the org.
- Provides a one-step uninstallation that will undo everything the wizard has created/configured.
-
The web page will use an implicit grant to authenticate with PureCloud.
-
The agent view subscribes to the user’s conversation notifications.
- The supervisor view will allow supervisors to get a real-time look at a specific queue's activity.