Web messaging deployment

Hi everyone,

We are evaluating some options for a web messaging deployment. Any recommendations, pros/cons between web messaging sdk java and messenger javascript sdk?

We appreciate your thoughts.

Thanks,

David

They're entirely different things for completely separate use cases.

The messenger SDK is an interface to the web messaging widget. https://developer.genesys.cloud/commdigital/digital/webmessaging/messengersdk/

The web messaging SDK is a low-level transport for you to build your own UI. https://developer.genesys.cloud/devapps/sdk/webmess-java

Hi Tim.

Thank you for the reply. We are still a bit confused about the differences and use cases for both SDKs. Could you provide an example use case for each one?

One clear difference for us is that the Java sdk is intedended to be deployed as a REST API, while the javascript sdk is meant to be integrated into a javascript frontend.

Thanks!

You haven't shared what you're trying to accomplish with your integration, so I can't point you in any direction. I would recommend reading the documentation for each SDK to understand their capabilities, then compare the feature set of each SDK with your requirements to see which is a best fit for your needs. As stated before, they're for separate use cases so your requirements will drive which SDK you need to use, not your preference in language.

Hi Tim,

We have gone through the SDK documentation and made some tests. Our use case is a custom chat developed in AngularJS, and we would like to connect this chat with the messaging channel in Genesys Cloud.

We think the best approach for our requirements would be to deploy an api running the web messaging Java SDK. This way, our custom chat can consume these Apis to communicate with Genesys.

We have resolved some of our questions about the web messaging Java SDK. However, it is still unclear if the messenger javascript sdk could be suitable option for our use case.

We appreciate your thoughts on this.

David.

It sounds like you're building your own UI, so your only SDK option is the Java webmessaging SDK. If you don't want to implement your UI in Java, which you don't because Angular isn't Java, you would use the Web messaging Guest API directly. The Java webmessaging SDK only wraps that interface in a language-specific package.

Hi Tim,

Indeed, we are building our customer web chat using JavaScript with AngularJS. However, our goal is to establish communication with Genesys through a RESTful API using the Web Messaging Java SDK. I've attached a diagram illustrating this scenario. Do you find this scenario viable?

In your previous response, you mentioned that we could use the Web Messaging Guest API to connect directly to Genesys Cloud. Is the Messenger JavaScript SDK intended for the same purpose?

We appreciate your thoughts on this.

Thanks

David.

Please review the documentation linked above for this. Web messaging does not offer a REST API (save one single endpoint for an edge case).

I believe I've answered this a few times now. I would strongly encourage you to read the documentation.

1 Like

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