Tutorial: set up an external knowledge base search source
-
- UpdatedApr 3, 2025
- 3 minutes to read
- Vancouver
- Service Portal Designer
Define an advanced search source to return data from any source on the Internet. To understand the power of search sources, follow this tutorial to set up an external knowledge base search source.
Before you begin
Role required: none
To create an advanced search source, you need authenticated access to an external website via a REST API and basic knowledge of AngularJS.
About this task
In this integration, you will:
- Create a data fetch script that uses the ServiceNow Table API to query a knowledge base from another ServiceNow instance.
- Decode the JSON response and define the fields that the search widget expects.
- Update the search sources HTML template to open the search result in the external site.
Procedure
Result
Test the external search in your portal. Results display under the name field value defined in step three.
Each search result opens in the external site defined in the search page template.