---
sourceDocument: Brazil ServiceNow AI Platform Administration
sourceDocumentLink: https://www.servicenow.com/docs/r/platform-administration

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil ServiceNow AI Platform Administration

ft:clusterId :

    - platadm

bundleId :

    - platadm

workflow :

    - Platform


---

# Create gateway connector

# Create a Custom Connector Gateway external content connector {#ariaid-title1}

Release version: Brazil  
Updated October 21, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 5 minutes to read  
Create a Custom Connector Gateway external content connector to index searchable content and security principals retrieved by your custom connector implementation.

## Before you begin

A custom connector must already be implemented. To learn more about implementing your own custom connector, see [Implementing a custom connector](https://www.servicenow.com/docs/dsjrHH25os7NtDzv7ib4ew "Your custom connector retrieves content, metadata, and security principals from a system of your choice. It runs on your local or cloud server and uses the Custom Connector Gateway API to send its retrieved data to a Custom Connector Gateway external content connector defined on your ServiceNow AI Platform instance. The Custom Connector Gateway connector feeds the retrieved data to AI Search for indexing.").

Your ServiceNow AI Platform® instance must have all the required plugins installed and must have the Hermes Messaging Service enabled. For details on configuring your instance to satisfy these prerequisites, see [Configure your ServiceNow AI Platform instance to support the Custom Connector Gateway](https://www.servicenow.com/docs/Jd5gtoX2d4jWGZn6C~wxiQ "Configure settings in your ServiceNow AI Platform instance to satisfy the prerequisites for the Custom Connector Gateway.").

Role required: sn_ext_conn.xcc_admin

## About this task

The Custom Connector Gateway external content connector feeds content and security principals retrieved by your custom connector to AI Search for indexing. After you have set up the Custom Connector Gateway connector, you can configure your custom connector to push retrieved data to it using the Custom Connector Gateway API.  
If you're creating two or more Custom Connector Gateway connectors in a single instance, consider the following points.

Shared schema and indexed source
:   All Custom Connector Gateway connectors defined in your instance share the same schema and feed their content to the same indexed source. To distinguish individual connectors in your search applications' facet
    filters, you can create a separate search source for each connector. In each of these search sources, configure a filter condition based on the connector ID. To learn about search sources and their filter
    conditions, see [Search sources in AI Search](https://www.servicenow.com/docs/XRKTekAMM4taF89eTNxZzQ "Define search sources to make your indexed content searchable in AI Search search applications. Choose an indexed source and configure optional filter conditions to limit the content that users can search.").

Per-connector user permission settings
:   Each Custom Connector Gateway connector has its own user permission settings. For details on configuring user permission settings, see [Configure user mapping settings for an external content connector](https://www.servicenow.com/docs/wTXv4ixUOHOWBfQaVS61Gg "Override the default field mappings for an external content connector's user permission crawls. Specify the fields that uniquely identify user security principals in your source system and users in your ServiceNow AI Platform instance. Optionally execute a custom script to transform security principal IDs before they're compared with the IDs of users in your instance.").

Per-connector analytics, events, and index inspector
:   Each Custom Connector Gateway connector records its own analytics and events. The index inspector tool only shows indexed results for the specific connector you select. To learn about connector analytics and
    events and the index inspector tool, see [Reviewing external content connector crawl results and analytics](https://www.servicenow.com/docs/I9MmxNVgsj3YBVNurHlTFQ "Search administrators can review crawl histories and analytics for external content connectors to gain a better understanding of what they're crawling. Administrators with the ais_high_security_admin elevated role can also review user and group permission mappings for external content connectors to verify that source system security principals are correctly associated with ServiceNow AI Platform users.").

## Procedure

1. Navigate to AllExternal Content ConnectorsExternal Content Admin Home.
2. If prompted to switch scope, select Switch scope and select the application scope specified in the prompt.
3. In the Connectors section, select Create.
4. On the Choose source page, select the Custom Connector Gateway tile, then select Next.
5. On the Connection settings page, fill in the connection settings.  
   {#create-ext-cont-connector-custom-connector-gateway__table_uvz_jrv_sdc__entry__2}

   | Connection setting | Description |
   |-|-|
   | Connector name | Unique name for this Custom Connector Gateway external content connector. |
   | I agree to the following disclaimer | Option acknowledging that you're responsible for the implementation, operation, and security of your custom connector. |
   [Table 1. Connection settings]

   {#create-ext-cont-connector-custom-connector-gateway__table_uvz_jrv_sdc}
6. Select Validate connection.
7. **Optional:** On the Schema page, perform these steps to extend the default schema used for all Custom Connector Gateway connectors.
   1. Select Edit schema table.  
      The Dictionary Entries table list view appears.
   2. Select New.
   3. On the Dictionary Entry form, fill in the fields.
   4. Select Submit.  
      The new custom field appears in the Dictionary Entries table list view.
   5. Return to the connector creation page and select Next.

   {#create-ext-cont-connector-custom-connector-gateway__substeps_zjb_mc5_hkc}  
   To use only fields from the default schema, skip this step (by selecting Skip). The default schema fields are displayed in the Default columns section of the Schema page. If metadata extracted by your custom connector matches one of the existing fields, map it to that field instead of creating a new field. This approach keeps naming consistent between connectors and avoids the overhead of extending the schema table.  
   Note:  
   All Custom Connector Gateway external content connectors on your instance share a single schema. When making changes to the Custom Connector Gateway schema for a new connector, check that those changes don't affect the behavior of your existing Custom Connector Gateway connectors.
8. On the User mapping settings page, modify any default user mapping settings that you want to override for this connector.  
   If you want to skip this step for now, select Skip instead of Next. You can modify the user mapping settings for this connector from the External Content Admin Home page. For details on this procedure and user mapping settings, see [Configure user mapping settings for an external content connector](https://www.servicenow.com/docs/wTXv4ixUOHOWBfQaVS61Gg "Override the default field mappings for an external content connector's user permission crawls. Specify the fields that uniquely identify user security principals in your source system and users in your ServiceNow AI Platform instance. Optionally execute a custom script to transform security principal IDs before they're compared with the IDs of users in your instance."). {#create-ext-cont-connector-custom-connector-gateway__new-connector-user-mapping-settings-cmd}
9. On the Connect search profile page, use the Connect to search profile field and Add button to add any search profiles that you want to connect this external content connector's default search source to, then select Save.  
   If you want to skip this step for now, select Skip instead of Next. You can connect search sources for this connector to search profiles from the External Content Admin Home page. For details on connecting an external content connector to search profiles, see [Connect an external content connector to a search profile](https://www.servicenow.com/docs/ysAMchEKwvdRhXEtpFOxbQ "Make results from an external content connector searchable in your portals and search applications by connecting its search sources to your existing search profiles.").

   When you link a connector search source to a search profile in this step, the system automatically publishes the search profile to make the new link take
   effect.

## Result

Your new external content connector appears in the Connectors list on the External Content Admin Home page.

## What to do next

To feed content and security principals to AI Search for indexing, your custom connector must access the new connector via the Custom Connector Gateway API. To learn about the methods available in this API, see [Custom Connector Gateway API](https://www.servicenow.com/docs/access?context=custom-connector-gateway-api&version=brazil&pubname=brazil-api-reference&ft:locale=en-US).  
To make content crawled by your new connector searchable in portals and search applications, you must link one of its search sources to the search profile used by each portal or search application. You can use the connector's default search source or create your own custom search sources.

Default search source
:   By default, the system creates a search source that includes all content from your external content connector's indexed source.

Custom search sources
:   You can create your own search sources with filters to specify which content from the connector's indexed source is searchable. To view the connector's indexed source, navigate to AllAI SearchAI Search IndexIndexed Sources. For information about creating search sources, see [Search sources in AI Search](https://www.servicenow.com/docs/XRKTekAMM4taF89eTNxZzQ "Define search sources to make your indexed content searchable in AI Search search applications. Choose an indexed source and configure optional filter conditions to limit the content that users can search.").
You can link connector search sources to search profiles from the External Content Admin Home page. For details on this procedure, see [Connect an external content connector to a search profile](https://www.servicenow.com/docs/ysAMchEKwvdRhXEtpFOxbQ "Make results from an external content connector searchable in your portals and search applications by connecting its search sources to your existing search profiles.").

*[\>]: and then


