- Created by Phillip Hanegan, last modified by Dev Raj Gautam on Apr 09, 2024
You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 7 Next »
In this article, we take you through the steps for importing the prerequisite packages into ServiceNow and adding each of the workflows in the Orchestration Pack to the ServiceNow Service Catalog. Finally, we demonstrate how to make the EmpowerID Chat Bot available to users within Service Now.
Gather Repository Information from EmpowerID
The EmpowerID Orchestration Pack for ServiceNow is customized to meet the business logic and workflow requirements of each customer. These customized files are hosted separately for each customer. Before you begin the integration process, please gather the following information for your Orchestration Pack for ServiceNow from EmpowerID, as the details vary for each customer:
Access Token: An access token is required to access the repository. This access token will be used as a password later when creating the credentials.
URL of the Repository: URL of the repository.
Branch: Branch of the repository.
x_36687_eid.base_url : Each client has a unique EmpowerID URL for ServiceNow configuration, which differs from the regular instance URL.
Step 1 – Import Orchestration Package and Configure Base URL
The EmpowerID Orchestration Pack for ServiceNow can be conveniently imported from the ServiceNow platform. To import the orchestration package, you need to
Create credentials on the ServiceNow platform,
Import the package from GitHub into the studio,
Configure x_36687_eid.base_url.
Please follow the instructions below to import and configure the base URL.
Login to your ServiceNow instance.
Click on All to Expand the Filter Navigator, and navigate to Connection and Credential > Credential.
Click on the New button to proceed.
Select Basic Auth Credentials as the type of credentials.
Provide the necessary details and click on Submit to save the credential:
Name: A unique and descriptive identifier for the credential.
Username: A username to be used for the credential.
Password: Access Token for the repository. (Provided by EmpowerID)
Click on All to Expand the Filter Navigator, and navigate to System Applications > Studio.
Click on Import from Source Control.
Provide the necessary details and click on Import.
Network Protocol: Choose the appropriate network protocol:
URL (Provided by EmpowerID)
HTTPS: By default, use the URL provided below, or if a different URL has been provided, please use that instead.
https://github.com/empowerID/SNOWIntegration.git
SSH: By default use the git ssh provided below, or if specific information has been provided, please use that instead.
git@github.com:empowerID/SNOWIntegration.git
Credentials: Select the credential you created earlier.
Branch: Provide the branch of the EmpowerID repository. (Provided by EmpowerID)
Once the process is completed, EmpowerID will be listed among the applications in the Select Application window we used earlier.
The final configuration to make this setup work is to configure the x_36687_eid.base_url, In the All Menu, type sys_properties.list and press enter to open the system properties page.
Search for the x_36687_eid.base_url property and click on it.
Replace the value with the x_36687_eid.base_url with the URL provided by EmpowerID and click Update.
You have successfully imported the orchestration package into EmpowerID and configured the necessary URL. Proceed to the next step to add workflows to the service catalog.
Step 2 – Add EmpowerID Workflows to the Service Catalog
In ServiceNow, search for Service Catalog in the Filter Navigator and then click Service Catalog.
Click Add New button in the main pane of the Service Catalog,
In the Sections dialog that appears, select Catalog Categories > EmpowerID Services and then click Add here.
You should see EmpowerID Services as a new widget.Click the EmpowerID Services widget.
You should see the three EmpowerID workflows.
Next, incorporate the Change Password workflow into ServiceNow and display it as a link in the main menu.
Step 4 – Add the Change Password workflow to the main menu
In ServiceNow, search for Portals in the Filter Navigator and then click Portals.
Click Service Portal.
In the Service Portals view, click the Info button to the right of the Main Menu.
Click Open Record.
Under Menu Items, click New.
In the Menu Item form, do the following:
Enter Reset Password in the Label field.
Enter password_reset in the Page field.
Click Submit.
In the ServiceNow Filter navigator, search for Service Portal and then click Service Portal.
The Reset Password link should be displayed as a menu item.
Click Reset Password.
The Reset Password page should be displayed.
Next, display Change Password as a catalog item.
Step 5 – Add Change Password to the Service Catalog
In the ServiceNow Filter navigator, search for Content Items and then click Content Items.
In the Content Items view, click New.
In the New record form that opens, do the following:
In the Name field, enter a name for the Catalog item, such as Reset EmpowerID Password.
Click the Lock button to the right of the Catalogs link.
Enter Service Catalog in the search field and then click Service Catalog.
Click the Lock button to lock the catalogs.
In the Category field, search for and select Services.
For Content Type, select External Content.
For Target, select New Window/Tab.
In the URL field, enter /sp?id=password_reset.
Click Submit.
In the ServiceNow Filter navigator, search for Service Portal and then click Service Portal.
On the top menu bar, click Catalog.
Search for the Catalog item that was created, e.g., Reset EmpowerID Password.
Click the Catalog item.
You should see the Reset Password page displayed in a new tab.
Change Password workflow is using EmpowerID API to successfully Change a user’s password. To call EmpowerID API a token must be generated. Currently it has been configured as a Scheduled Job, the Empower Token Generation job, which runs every once a day. This job is responsible for generating tokens which is used to authenticate EmpowerID.
For a new instance this job should be executed first, after which it will continue to generate tokens.
Next, add the EmpowerID Chat Bot to ServiceNow.
In the ServiceNow Filter navigator, search for Scheduled Job and then click Scheduled Jobs.
Search for Empower and then click Empower Token generation.
In the Scheduled Script Execution pane that opens, click Execute Now.
Step 6 – Add the EmpowerID Chat Bot
In the ServiceNow Filter navigator, search for Service Portal and then click Service Portal Home.
On the Service Portal Home page, press the CTRL key on your keyboard and then right-click on the page.
Select Page in Designer from the context menu that appears.
Select the Widgets tab and then search for Azure Bot.
The bot appears on the lower right of the page.
IN THIS ARTICLE
- No labels