Deploying Chat Assistant for Web Chat v2

I've been beating my head, fine-tooth combing trying to find the step I'm missing from https://developer.genesys.cloud/blueprints/chat-assistant-blueprint/

Step 4 - Configuring the Application URL

  • If I want to use the localhost URL to test on my local computer I've tried
    https://localhost/?conversationid={{gcConversationId}}
    and I've tried
    https://localhost:8081/?conversationid={{gcConversationId}} (the port I'm using to run the repo locally).

I am not seeing the agent assistant interaction widget in my genesys admin account like I should. Am I missing something here? And where does the value for gcConversationId come from? Am I supposed to define that value?

(All the other steps I have followed:

  1. Set up Oauth Implicit Grant, added client ID to config.js
  2. main.js file is configured with client.setEnvironment(config.genesysCloud.region); where config.genesysCloud.region value is 'cac1.pure.cloud'
  3. Created a chat widget

In run-local.js I have:

httpServer.listen(8081);
console.log('HTTP listening on: 8081');
httpsServer.listen(443);
console.log('HTTPS listening on: 443');

PLEASE HELP!

Hi Stella,

I have reached out to the engineer who wrote the original blueprint. Hopefull they should be able to provide some guidance.

Thanks,
John Carnell
Director, Developer Engagement

1 Like

Hi,

There was a mistake on our documentation, kindly use "https://localhost/?conversationid={{gcConversationId}}&language={{gcLangTag}}&environment={{gcTargetEnv}}" as the Application URL of you Interaction Widget.

Thank you for raising this issue with us.

Hi, thanks for responding. After using the url your provided as the Application URL, I am still unable to see the Interaction Widget in the chat.

Can you verify if you have selected a group in the Interaction widget?

Oh I missed that! I've got it configured now, and see the chat assistant icon.
When I set the Application URL to

https://genesyscloudblueprints.github.io/chat-assistant-blueprint/?conversationid={{gcConversationId}}&language={{gcLangTag}}&environment={{gcTargetEnv}}

I'm not able to sign in to my account, and I don't see the option to change the location as our account is CAC1.

When I have Application URL configured to localhost, I get this error:

I was able to get it working. I had to open localhost:8080 in the browser, and disable the Chrome warning about http://localhost being insecure.

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