Back on to Amazon Kendra’s console select your index and under Data management click on Data sources.
Click on Add a datasource.
Select ServiceNow Online.
Enter a data source name and click Next.
Enter the ServiceNow hostname and version, and select Create a new role. After entering a name for your new role, click Next.
Choose New on Type of authentication, enter a name for your secret (this will be stored securely on AWS Secrets Manager) and you username and password for ServiceNow Online. Click on Save authentication.
On the ServiceNow configuration section select which kind of content will be indexed by Kendra.
For the schedule we will choose Run on demand. Click Next.
Choose the default field mappings for Knowledge articles and Service catalog items, then click Next.
On the summary page, review your settings and click Create.
After the creation process is finished, click on Sync now.