This submit is co-written with Sujith R Pillai from Kyndryl.
On this submit, we present you ways Kyndryl, an AWS Premier Tier Providers Accomplice and IT infrastructure companies supplier that designs, builds, manages, and modernizes advanced, mission-critical info methods, built-in Amazon Q Enterprise with ServiceNow in a number of easy steps. You’ll discover ways to configure Amazon Q Enterprise and ServiceNow, how you can create a generative AI plugin in your ServiceNow incidents, and how you can take a look at and work together with ServiceNow utilizing the Amazon Q Enterprise net expertise. By the tip of this submit, it is possible for you to to reinforce your ServiceNow expertise with Amazon Q Enterprise and luxuriate in the advantages of a generative AI–powered interface.
Answer overview
Amazon Q Enterprise has three predominant parts: a front-end chat interface, a knowledge supply connector and retriever, and a ServiceNow plugin. Amazon Q Enterprise makes use of AWS Secrets and techniques Supervisor secrets and techniques to retailer the ServiceNow credentials securely. The next diagram exhibits the structure for the answer.
Chat
Customers work together with ServiceNow by way of the generative AI–powered chat interface utilizing pure language.
Knowledge supply connector and retriever
A knowledge supply connector is a mechanism for integrating and synchronizing information from a number of repositories into one container index. Amazon Q Enterprise has two kinds of retrievers: native retrievers and present retrievers utilizing Amazon Kendra. The native retrievers help a variety of Amazon Q Enterprise connectors, together with ServiceNow. The prevailing retriever choice is for many who have already got an Amazon Kendra retriever and want to use that for his or her Amazon Q Enterprise software. For the ServiceNow integration, we use the native retriever.
ServiceNow plugin
Amazon Q Enterprise offers a plugin function for performing actions resembling creating incidents in ServiceNow.
The next high-level steps present how you can configure the Amazon Q Enterprise – ServiceNow integration:
- Create a consumer in ServiceNow for Amazon Q Enterprise to speak with ServiceNow
- Create information base articles in ServiceNow if they don’t exist already
- Create an Amazon Q Enterprise software and configure the ServiceNow information supply and retriever in Amazon Q Enterprise
- Synchronize the info supply
- Create a ServiceNow plugin in Amazon Q Enterprise
Stipulations
To run this software, you could have an Amazon Internet Providers (AWS) account, an AWS Id and Entry Administration (IAM) function, and a consumer that may create and handle the required sources. In case you are not an AWS account holder, see How do I create and activate a brand new Amazon Internet Providers account?
You want an AWS IAM Id Heart arrange within the AWS Organizations organizational unit (OU) or AWS account wherein you might be constructing the Amazon Q Enterprise software. It is best to have a consumer or group created in IAM Id Heart. You’ll assign this consumer or group to the Amazon Q Enterprise software in the course of the software creation course of. For steering, consult with Handle identities in IAM Id Heart.
You additionally want a ServiceNow consumer with incident_manager
and knowledge_admin
permissions to create and think about information base articles and to create incidents. We use a developer occasion of ServiceNow for this submit for instance. You could find out how you can get the developer occasion in Private Developer Cases.
Answer walkthrough
To combine ServiceNow and Amazon Q Enterprise, use the steps within the following sections.
Create a information base article
Observe these steps to create a information base article:
- Sign up to ServiceNow and navigate to Self-Service > Data
- Select Create an Article
- On the Create new article web page, choose a information base and select a class. Optionally, chances are you’ll create a brand new class.
- Present a Quick description and sort within the Article physique
- Select Submit to create the article, as proven within the following screenshot
Repeat these steps to create a few information base articles. On this instance, we created a hypothetical enterprise named Instance Corp for demonstration functions.
Create an Amazon Q Enterprise software
Amazon Q provides three subscription plans: Amazon Q Enterprise Lite, Amazon Q Enterprise Professional, and Amazon Q Developer Professional. Learn the Amazon Q Documentation for extra particulars. For this instance, we used Amazon Q Enterprise Lite.
Create software
Observe these steps to create an software:
- Within the Amazon Q Enterprise console, select Get began, then select Create software to create a brand new Amazon Q Enterprise software, as proven within the following screenshot
- Title your software in Utility title. In Service entry, choose Create and use a brand new service-linked function (SLR). For extra details about instance service roles, see IAM roles for Amazon Q Enterprise. For info on service-linked roles, together with how you can handle them, see Utilizing service-linked roles for Amazon Q Enterprise. We named our software ServiceNow-Helpdesk. Subsequent, choose Create, as proven within the following screenshot.
Select a retriever and index provisioning
To decide on a retriever and index provisioning, observe these steps within the Choose retriever display, as proven within the following screenshot:
- For Retrievers, choose Use native retriever
- For Index provisioning, select Starter
- Select Subsequent
Join information sources
Amazon Q Enterprise has ready-made connectors for frequent information sources and enterprise methods.
- Enter “ServiceNow” to go looking and choose ServiceNow On-line as the info supply, as proven within the following screenshot
- Enter the URL and the model of your ServiceNow occasion. We used the ServiceNow model Vancouver for this submit.
- Scroll down the web page to supply further particulars in regards to the information supply. Below Authentication, choose Fundamental authentication. Below AWS Secrets and techniques Supervisor secret, choose Create and add a brand new secret from the dropdown menu as proven within the screenshot.
- Present the Username and Password you created in ServiceNow to create an AWS Secrets and techniques Supervisor secret. Select Save.
- Below Configure VPC and safety group, preserve the setting as No VPC as a result of you may be connecting to the ServiceNow by the web. It’s possible you’ll select to create a brand new service function below IAM function. This can create a task particularly for this software.
- Within the instance, we synchronize the ServiceNow information base articles and incidents. Present the knowledge as proven within the following picture under. Discover that for Filter question the instance exhibits the next code.
This filter question goals to sync the articles that meet the next standards:
- workflow_state = printed
- kb_knowledge_base = dfc19531bf2021003f07e2c1ac0739ab (That is the default Sys ID for the information base named “Data” in ServiceNow).
- Sort = textual content (This subject incorporates the textual content within the Data article).
- Lively = true (This subject filters the articles to sync solely those which might be lively).
The filter fields are separated by ^, and the tip of the question is represented by EQ. You could find extra particulars in regards to the Filter question and different parameters in Connecting Amazon Q Enterprise to ServiceNow On-line utilizing the console.
- Present the Sync scope for the Incidents, as proven within the following screenshot
- It’s possible you’ll choose Full sync initially so {that a} full synchronization is carried out. It is advisable to choose the frequency of the synchronization as nicely. For this submit, we selected Run on demand. If you should preserve the information base and incident information extra up-to-date with the ServiceNow occasion, select a shorter window.
- A subject mapping can be offered so that you can validate. You received’t be capable to change the sphere mapping at this stage. Select Add information supply to proceed.
This completes the info supply configuration for Amazon Q Enterprise. The configuration takes a couple of minutes to be accomplished. Watch the display for any errors and updates. As soon as the info supply is created, you may be greeted with a message You efficiently created the next information supply: ‘ServiceNow-Datasource’
Add customers and teams
Observe these steps so as to add customers and teams:
- Select Subsequent
- Within the Add teams and customers web page, click on Add teams and customers. You can be introduced with the choice of Add and assign new customers or Assign present customers and teams. Choose Assign present customers and teams. Select Subsequent, as proven within the following picture.
- Seek for an present consumer or group in your IAM Id Heart, choose one, and select Assign. After choosing the best consumer or group, select Executed.
This completes the exercise of assigning the consumer and group entry to the Amazon Q Enterprise software.
Create an online expertise
Observe these steps to create an online expertise within the Add teams and customers display, as proven within the following screenshot.
- Select Create and use a brand new service function within the Internet expertise service entry part
- Select Create software
The deployed software with the appliance standing can be proven within the Amazon Q Enterprise > Functions console as proven within the following screenshot.
Synchronize the info supply
As soon as the info supply is configured efficiently, it’s time to start out the synchronization. To start this course of, the ServiceNow fields that require synchronization should be up to date. As a result of we intend to get solutions from the information base content material, the textual content subject must be synchronized. To take action, observe these steps:
- Within the Amazon Q Enterprise console, choose Functions within the navigation pane
- Choose ServiceNow-Helpdesk after which ServiceNow-Datasource
- Select Actions. From the dropdown, select Edit, as proven within the following screenshot.
- Scroll right down to the underside of the web page to the Area mappings Choose textual content and description.
- Select Replace. After the replace, select Sync now.
The synchronization takes a couple of minutes to finish relying on the quantity of knowledge to be synchronized. Make it possible for the Standing is Accomplished, as proven within the following screenshot, earlier than continuing additional. If you happen to discover any error, you’ll be able to select the error hyperlink. The error hyperlink will take you to Amazon CloudWatch Logs to analyzing the logs for additional troubleshooting.
Create ServiceNow plugin
A ServiceNow plugin in Amazon Q Enterprise helps you create incidents in ServiceNow by way of Amazon Q Enterprise chat. To create one, observe these steps:
- Within the Amazon Q Enterprise console, choose Enhancements from the navigation pane
- Below Plugins, select Add plugin, as proven within the following screenshot
- Within the Add Plugin web page, proven within the following screenshot, and choose the ServiceNow plugin
- Present a Title for the plugin
- Enter the ServiceNow URL and use the beforehand created AWS Secrets and techniques Supervisor secret for the Authentication
- Choose Create and use a brand new service function
- Select Add plugin
- The standing of the plugin can be proven within the Plugins If Plugin standing is Lively, the plugin is configured and able to use.
Use the Amazon Q Enterprise chat interface
To make use of the Amazon Q Enterprise chat interface, observe these steps:
- Within the Amazon Q Enterprise console, select Functions from the navigation pane. The online expertise URL can be offered for every Amazon Q Enterprise software.
- Select the Internet expertise URL to open the chat interface. Enter an IAM Id Heart username and password that was assigned to this software. The next screenshot exhibits the Sign up
Now you can ask questions and obtain responses, as proven within the following picture. The solutions can be particular to your group and are retrieved from the information base in ServiceNow.
You possibly can ask the chat interface to create incidents as proven within the subsequent screenshot.
A brand new pop-up window will seem, offering further info associated to the incident. On this window, you’ll be able to present extra info associated to the ticket and select Create.
This can create a ServiceNow incident utilizing the online expertise of Amazon Q Enterprise with out signing in to ServiceNow. It’s possible you’ll confirm the ticket within the ServiceNow console as proven within the subsequent screenshot.
Conclusion
On this submit, we confirmed how Kyndryl is utilizing Amazon Q Enterprise to allow pure language conversations with ServiceNow utilizing the ServiceNow connector offered by Amazon Q Enterprise. We additionally confirmed how you can create a ServiceNow plugin that enables customers to create incidents in ServiceNow instantly from the Amazon Q Enterprise chat interface. We hope that this tutorial will make it easier to reap the benefits of the ability of Amazon Q Enterprise in your ServiceNow wants.
Concerning the authors
Asif Fouzi is a Principal Options Architect main a workforce of seasoned technologists supporting International Service Integrators (GSI) resembling Kyndryl of their cloud journey. When he’s not innovating on behalf of customers, he likes to play guitar, journey, and spend time together with his household.
Sujith R Pillai is a cloud resolution architect within the Cloud Heart of Excellence at Kyndryl with intensive expertise in infrastructure structure and implementation throughout varied industries. Together with his sturdy background in cloud options, he has led a number of expertise transformation tasks for Kyndryl clients.