---
sourceDocument: Xanadu ServiceNow AI Platform Administration
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/platform-administration

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu ServiceNow AI Platform Administration

ft:clusterId :

    - platadm

bundleId :

    - platadm

workflow :

    - Platform


---

# Configuring an external or custom embedding model

# Configuring an external or custom embedding model {#ariaid-title1}

* Release version: Xanadu
* 
* Updated July 31, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

You can connect and configure an external or custom embedding model in the AI Search
Retrieval Augmented Generation (RAG) application to generate embeddings.

## Embedding model overview {#setting-up-3p-embedding-models__section_j3r_vhz_jgc}

The AI Search
Retrieval Augmented Generation (RAG) application uses embedding models to retrieve relevant information from the indexed sources and generate embeddings. These embeddings are a way to
transform complex objects---like words or images---into numerical forms that capture their meanings and relationships. This transformation helps machine learning (ML) models analyze and understand data more
effectively, improving tasks like natural language processing (NLP), recommendation systems, and image recognition.

With the AI Search
RAG application, you can create your own custom embedding model by using the Bring Your Own Model (BYOM) capability. The application also supports
third-party embedding models, such as the Azure OpenAI Embedding model and Google Gemini Embedding model. You can configure the default connection and credential aliases that are provided for these third-party embedding models to authenticate and enable the
integration between your instance and the selected embedding model.

## Configuring embedding models {#setting-up-3p-embedding-models__section_w13_h3z_jgc}

Configure your custom and third-party embedding models in the AI Search RAG application:

Configuring third-party embedding models
:   You can integrate a third-party embedding model with your system:

    1. Set up a connection and credentials for a third-party embedding model. For more information, see [Setting up connection and credentials for third-party embedding model](https://servicenow-prod.fluidtopics.net/p1CADW2FilnIKfwQ7yCd~A "Set up a connection and credential alias to authenticate an integration between your ServiceNow instance and a third-party embedding model.").
    2. Activate a third-party embedding model. For more information, see [Activating the third-party embedding model](https://servicenow-prod.fluidtopics.net/8mg7shqp3fMNcdbo3QbLGQ "Activate your preferred embedding model, whether third-party or custom, so that the AI Search Retrieval Augmented Generation (RAG) application knows which model to use for generating embeddings.").
    {#setting-up-3p-embedding-models__ol_i4x_mlz_jgc}

Configuring custom embedding models
:   You can configure a custom embedding model end-to-end by leveraging the Bring Your Own Embedding Model (BYOM) capability. For more information, see [Configuring bring your own model (BYOM)](https://servicenow-prod.fluidtopics.net/PzaybPXx9Xeh1xOHW9iLmg "As an administrator, you can create your own custom embedding model to use in the AI Search Retrieval Augmented Generation (RAG) application to generate embeddings for semantic indexing.").
* **[Set up a connection and credential alias for a third-party embedding model](https://servicenow-prod.fluidtopics.net/p1CADW2FilnIKfwQ7yCd~A)**   
  Set up a connection and credential alias to authenticate an integration between your ServiceNow instance and a third-party embedding model.
* **[Activate a third-party embedding model](https://servicenow-prod.fluidtopics.net/8mg7shqp3fMNcdbo3QbLGQ)**   
  Activate your preferred embedding model, whether third-party or custom, so that the AI Search Retrieval Augmented Generation (RAG) application knows which model to use for generating embeddings.
* **[Configuring bring your own model (BYOM)](https://servicenow-prod.fluidtopics.net/PzaybPXx9Xeh1xOHW9iLmg)**   
  As an administrator, you can create your own custom embedding model to use in the AI Search Retrieval Augmented Generation (RAG) application to generate embeddings for semantic indexing.

