Jaime,
In TamperMonkey I created a new script that I called "Genesys Web Messaging" in which I pasted in the code that Genesys Web Messaging generated for me in Admin->Messenger Deployments. I had to slightly adapt it because the snippet in Admin is in a <script> tag for embedding into HTML. Here is what my TamperMonkey script looks like:
(NOTE: You will have to change the URL 'apps.mypurecloud.com' and deployment key appropriate for your Genesys Cloud org and region)
(ALSO: It might not be evident but those comments matter! Especially the 'match' one that tells TamperMonkey which web pages that the script should execute on)
// ==UserScript==// @name Genesys Web Messaging// @namespace http://tampermonkey.net/// @version 0.1// @description Use Web Messaging on any Web Page!// @author Jim Crespino// @match https://*.genesys.cloud/*// @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==// @grant none// ==/UserScript==(function (g, e, n, es, ys) {g['_genesysJs'] = e;g[e] = g[e] || function () {(g[e].q = g[e].q || []).push(arguments)};g[e].t = 1 * new Date();g[e].c = es;ys = document.createElement('script'); ys.async = 1; ys.src = n; ys.charset = 'utf-8'; document.head.appendChild(ys);})(window, 'Genesys', 'https://apps.mypurecloud.com/genesys-bootstrap/genesys.min.js', {environment: 'use1',deploymentId: '<paste_your_deployment_key_here>'});------------------------------
Jim Crespino
Senior Director, Developer Evangelism
Genesys
https://developer.genesys.com------------------------------