Page tree

Contact us at

Skip to end of metadata
Go to start of metadata

To integrate Whatfix with your instance of ServiceNow:

  1. Log in to your ServiceNow instance as an admin and navigate to UI Scripts under System UI.

  2. Click New to configure a new script.
  3. Ensure the Global check box is selected. Copy the script below, update your ENTERPRISE ID, paste it in the Script panel and then click Submit.
var head = document.getElementsByTagName('head');
var script = document.createElement("script");
script.setAttribute("src", "//<<ent_id>>/embed/embed.nocache.js");
script.setAttribute("type", "text/javascript");

if( != window) {
	var head ='head');
	var script ="script");
	script.setAttribute("src", "//<<ent_id>>/embed/embed.nocache.js");
	script.setAttribute("type", "text/javascript");

Update the correct script src from your Whatfix account in the code block in line 4 and line 13

Enabling Whatfix Content on Portal pages

If you notice that whatfix content is still not being displayed on portal pages, continue with the following instructions.

  1. In the left panel, click Portals.
  2. On the Service Portals page, under the Theme column, click the corresponding link for the portal that you want to enable.
  3. Click the JS Includes tab.
  4. Click New.
  5. Enter a display name, in the Source drop-down section, select UI Script and then click the Search icon.
  6. Select the Whatfix JavaScript that was added in the first section.
  7. Click Submit.
  8. Click Update.

  • No labels