---
schema_version: "1"
id: dfd890b50b7e37abb3c5aead9fda6faa0b4f9d98d194637be18915de4c3a62de
title: Add a Foundation Model
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/data/264-0-0/c360_a_ai_foundation_models_create.md
canonical_url: https://help.salesforce.com/s/articleView?id=data.c360_a_ai_foundation_models_create.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 0340995ec5d51aa6ec420b83f01ae673e8b08b666837ba14c8fc98f158ef049d
description: Adding a foundation model in AI Models (formerly Einstein Studio) establishes an endpoint connection between the external model provider and Salesforce. After you connect the model, create a new model configuration and evaluate your model’s response to custom prompts.
products:
  - Data 360
release: "264"
---
# Add a Foundation Model

Adding a foundation model in AI Models (formerly Einstein Studio) establishes an endpoint connection between the external model provider and Salesforce. After you connect the model, create a new model configuration and evaluate your model’s response to custom prompts.

Bring Your Own LLM (BYOLLM) supports Amazon Bedrock, Azure OpenAI, OpenAI, and Vertex AI from Google as foundation model providers. Use the Connect to your LLM option to use the LLM Open Connector, which enables you to connect the Einstein AI Platform to any language model hosted on major cloud platforms or hosted by you.

To add a foundation model, Einstein Generative AI must be enabled in your org. For more information, see [Set Up Einstein Generative AI](https://help.salesforce.com/s/articleView?id=ai.generative_ai_enable.htm&language=en_US) in Salesforce Help.

To connect to a model endpoint, you need its URL and authentication information. Find these details on the provider’s dashboard.

For LLM Open Connector, the URL must end with /chat/completions. If the URL path doesn’t satisfy this requirement, Open Connector automatically appends /chat/completions to the URL path.

1. In AI Models, go to the Generative tab.
2. Click **Add Foundation Model**.
    
    ![AI Models (formerly Einstein Studio) Model Builder displaying the option to add a foundation model.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-data-data_cloud-264-0-0-production-enus/f3569962-3c9b-4f83-9d0c-b6a574e785da/data_cloud/images/c360_a_ai_add_foundation_model.png)
3. Select the type of foundation model that you want to connect, and click **Next**.
    
    ![Model Builder displaying foundation models that you can add.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-data-data_cloud-264-0-0-production-enus/f3569962-3c9b-4f83-9d0c-b6a574e785da/data_cloud/images/c360_a_ai_choose_type_google_vertex_ai.png)
4. Connect to the model endpoint.
    1. Enter the endpoint name and URL.
        
        ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-data-data_cloud-264-0-0-production-enus/f3569962-3c9b-4f83-9d0c-b6a574e785da/images/icon_note.png)
        
        Note To connect to a remote model endpoint, a standard HTTPS 443 port is required.
    2. Enter your authentication details.
        
        If you’re bringing your own Azure Open AI model, you can select OAuth and select a named credential. To learn more, see [Salesforce Help: Create Named Credentials and External Credentials.](https://help.salesforce.com/s/articleView?id=xcloud.nc_named_creds_and_ext_creds.htm&type=5&language=en_US)
    3. Enter the model information.
        
        If you’re connecting an Azure Open AI model, enter the Azure deployment. You can find this information on the Azure OpenAI Dashboard in Deployments. If you’re connecting an OpenAI fine-tuned model, select **Yes** when prompted during setup.
        
        For details about the supported models, see [Large Language Model Support](https://help.salesforce.com/s/articleView?id=ai.generative_ai_large_language_model_support.htm&language=en_US).
    4. Click **Save & Test**.
    5. Enter the exact name of the model that you want to connect.
    6. Click **Connect**.
    7. Enter a name for your model, and then click **Name and Connect**.
    8. Select the model version.
        
        You may see references to “recitation” in your model’s generated text response to a prompt. For more details, see [Google Gemini API Reference](https://ai.google.dev/api/rest/v1/GenerateContentResponse).
    9. Select the model type.
        
        For Amazon Bedrock, use Anthropic. For a list of models, see [Large Language Model Support](https://help.salesforce.com/s/articleView?id=ai.generative_ai_large_language_model_support.htm&language=en_US).
5. To use your foundation model, go to the Foundation Model tab and configure it.

#### See Also

- [_Salesforce Help_: Set Up Einstein Generative AI](https://help.salesforce.com/s/articleView?id=ai.generative_ai_enable.htm&type=5&language=en_US)
- [_Salesforce Developers_: Supported Models](https://developer.salesforce.com/docs/einstein/genai/guide/supported-models.html)
- [_Einstein Platform Cookbook_: Introducing the LLM Open Connector](https://opensource.salesforce.com/einstein-platform/open-connector)