Hi Moveworks Community,
First-time poster here. I am looking for guidance on embedding the Moveworks assistant into our ServiceNow Service Portal.
Environment/Status
-
ServiceNow DEV instance.
-
Moveworks for Employee Center plugin installed (scope
moveworks.webchat.x.x.x). -
Added the “Moveworks for Web Widget” to our Service Portal home page.
What I’ve configured so far
-
Located the “Embedded AI Assistant setup” page in ServiceNow and switched to the corresponding app scope.
-
Found the Bot ID for our webchat channel in the Moveworks Admin console.
-
Entered the Bot ID in the ServiceNow setup screen and configured the Initialization Options JSON as follows:
{ "bot_id": "[OUR_BOT_ID]" } -
Cleared ServiceNow cache (
/cache.do) and performed a hard browser refresh.
The Issue
The ServiceNow widget record contains an empty <script src=""> in the Body HTML template. I am struggling to find the authoritative URL to populate this src.
I attempted to use a path derived from our hosted assistant URL (e.g., https://[TENANT].moveworks.com/widget/index.js), but the browser network tab shows it returns:
-
Status:
200 OK -
Content-Type:
text/html(HTML instead of JavaScript) -
Redirects into a Moveworks "Terms to Accept" / "Page not found" UI flow in the browser.
Because it is returning HTML and not the SDK JavaScript, the ServiceNow widget remains invisible/blank.
Questions for the community:
-
What is the official production script URL for the Moveworks Web SDK / Embedded Assistant that is compatible with ServiceNow?
-
Does this plugin look for a specific ServiceNow system property to automatically populate that
srcfield (e.g.,moveworks.webchat.script_src), or should it be hardcoded in the widget? -
What are the minimum required JSON keys for the Initialization Options in ServiceNow to ensure the widget successfully renders?
-
Are there specific CSP (Content Security Policy) entries I should whitelist in ServiceNow to allow the Moveworks SDK and authentication flow to work correctly?
Any documentation or standard snippets for the ServiceNow deployment would be greatly appreciated!
Cheers!
Ken