Interaction Widget Documentation

Hello,

I'm trying to create an interaction widget in Purecloud but I can't find any documentation. the only info I've been able to find is this page which has a blueprint for one.

https://developer.genesys.cloud/blueprints/chat-translator-blueprint/

And Jim Crespino's dev cast:

What I'm trying to figure out is what URL params are available. I see he has pcEnvironment and pcConversationId. I know there are others available is this documented somewhere? And how can my widget auth as the agent?

Just a follow up where are the front-end UIs to these blueprints:

https://developer.genesys.cloud/blueprints/chat-translator-blueprint/#download-the-repository-containing-the-project-files

https://developer.genesys.cloud/blueprints/chat-assistant-blueprint/

Matthew,

Interaction Widgets are just one form of what Genesys calls a Client App, which is documented here: https://developer.genesys.cloud/platform/integrations/client-apps/. If you scroll to the "URL Interpolation" topic you'll see the various query parameters that can be passed in for each type of Client App.

In order to authenticate as the currently logged in agent, you'll first need to create an OAuth client in your Genesys Cloud org under Admin->OAuth: Create an OAuth client - Genesys Cloud Resource Center.

To piggyback on the currently logged in user you'll need to use either the Implicit Grant flow (https://developer.genesys.cloud/authorization/platform-auth/use-implicit-grant) or the Authorization Code Grant flow(https://developer.genesys.cloud/authorization/platform-auth/use-authorization-code).

To make things really easy on yourself I'd recommend using one of our Platform SDK language wrappers. For instance, if you are programming in Javascript then you can use this SDK: https://developer.genesys.cloud/devapps/sdk/javascript that will handle authentication, managing auth tokens, and providing API method calls.

I hope that helps.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.