This post is co-written with Sujith R Pillai from Kyndryl.
In this post, we show you how Kyndryl, an AWS Premier Tier Services Partner and IT infrastructure services provider that designs, builds, manages, and modernizes complex, mission-critical information systems, integrated Amazon Q Business with ServiceNow in a few simple steps. You will learn how to configure Amazon Q Business and ServiceNow, how to create a generative AI plugin for your ServiceNow incidents, and how to test and interact with ServiceNow using the Amazon Q Business web experience. By the end of this post, you will be able to enhance your ServiceNow experience with Amazon Q Business and enjoy the benefits of a generative AI–powered interface.
Amazon Q Business has three main components: a front-end chat interface, a data source connector and retriever, and a ServiceNow plugin. Amazon Q Business uses AWS Secrets Manager secrets to store the ServiceNow credentials securely. The following diagram shows the architecture for the solution.
Users interact with ServiceNow through the generative AI–powered chat interface using natural language.
A data source connector is a mechanism for integrating and synchronizing data from multiple repositories into one container index. Amazon Q Business has two types of retrievers: native retrievers and existing retrievers using Amazon Kendra. The native retrievers support a wide range of Amazon Q Business connectors, including ServiceNow. The existing retriever option is for those who already have an Amazon Kendra retriever and would like to use that for their Amazon Q Business application. For the ServiceNow integration, we use the native retriever.
Amazon Q Business provides a plugin feature for performing actions such as creating incidents in ServiceNow.
The following high-level steps show how to configure the Amazon Q Business – ServiceNow integration:
To run this application, you must have an Amazon Web Services (AWS) account, an AWS Identity and Access Management (IAM) role, and a user that can create and manage the required resources. If you are not an AWS account holder, see How do I create and activate a new Amazon Web Services account?
You need an AWS IAM Identity Center set up in the AWS Organizations organizational unit (OU) or AWS account in which you are building the Amazon Q Business application. You should have a user or group created in IAM Identity Center. You will assign this user or group to the Amazon Q Business application during the application creation process. For guidance, refer to Manage identities in IAM Identity Center.
You also need a ServiceNow user with incident_manager
and knowledge_admin
permissions to create and view knowledge base articles and to create incidents. We use a developer instance of ServiceNow for this post as an example. You can find out how to get the developer instance in Personal Developer Instances.
To integrate ServiceNow and Amazon Q Business, use the steps in the following sections.
Follow these steps to create a knowledge base article:
Repeat these steps to create a couple of knowledge base articles. In this example, we created a hypothetical enterprise named Example Corp for demonstration purposes.
Amazon Q offers three subscription plans: Amazon Q Business Lite, Amazon Q Business Pro, and Amazon Q Developer Pro. Read the Amazon Q Documentation for more details. For this example, we used Amazon Q Business Lite.
Follow these steps to create an application:
To choose a retriever and index provisioning, follow these steps in the Select retriever screen, as shown in the following screenshot:
Amazon Q Business has ready-made connectors for common data sources and business systems.
This filter query aims to sync the articles that meet the following criteria:
The filter fields are separated by ^, and the end of the query is represented by EQ. You can find more details about the Filter query and other parameters in Connecting Amazon Q Business to ServiceNow Online using the console.
This completes the data source configuration for Amazon Q Business. The configuration takes a few minutes to be completed. Watch the screen for any errors and updates. Once the data source is created, you will be greeted with a message You successfully created the following data source: ‘ServiceNow-Datasource’
Follow these steps to add users and groups:
This completes the activity of assigning the user and group access to the Amazon Q Business application.
Follow these steps to create a web experience in the Add groups and users screen, as shown in the following screenshot.
The deployed application with the application status will be shown in the Amazon Q Business > Applications console as shown in the following screenshot.
Once the data source is configured successfully, it’s time to start the synchronization. To begin this process, the ServiceNow fields that require synchronization must be updated. Because we intend to get answers from the knowledge base content, the text field needs to be synchronized. To do so, follow these steps:
The synchronization takes a few minutes to complete depending on the amount of data to be synchronized. Make sure that the Status is Completed, as shown in the following screenshot, before proceeding further. If you notice any error, you can choose the error hyperlink. The error hyperlink will take you to Amazon CloudWatch Logs to examining the logs for further troubleshooting.
A ServiceNow plugin in Amazon Q Business helps you create incidents in ServiceNow through Amazon Q Business chat. To create one, follow these steps:
To use the Amazon Q Business chat interface, follow these steps:
You can now ask questions and receive responses, as shown in the following image. The answers will be specific to your organization and are retrieved from the knowledge base in ServiceNow.
You can ask the chat interface to create incidents as shown in the next screenshot.
A new pop-up window will appear, providing additional information related to the incident. In this window, you can provide more information related to the ticket and choose Create.
This will create a ServiceNow incident using the web experience of Amazon Q Business without signing in to ServiceNow. You may verify the ticket in the ServiceNow console as shown in the next screenshot.
In this post, we showed how Kyndryl is using Amazon Q Business to enable natural language conversations with ServiceNow using the ServiceNow connector provided by Amazon Q Business. We also showed how to create a ServiceNow plugin that allows users to create incidents in ServiceNow directly from the Amazon Q Business chat interface. We hope that this tutorial will help you take advantage of the power of Amazon Q Business for your ServiceNow needs.
Sujith R Pillai is a cloud solution architect in the Cloud Center of Excellence at Kyndryl with extensive experience in infrastructure architecture and implementation across various industries. With his strong background in cloud solutions, he has led multiple technology transformation projects for Kyndryl customers.
Beyond performing tasks, machines will integrate into our social fabric, requiring us to navigate new…
Less than 24 hours after the app went dark, TikTok says President-elect Donald Trump has…
Large pretrained models are showing increasingly better performance in reasoning and planning tasks across different…
Anthropomorphizing AI creates dangerous blind spots in business decision-making beyond simple operational inefficiencies.Read More
Machine learning (ML) is now a part of our daily lives, from the voice assistants…
As LLMs become more capable, many RAG applications can be replaced with cache-augmented generation that…