Skip to main content
Connect commercial and custom models to Agent Platform.

Overview

External models are AI models hosted outside the platform. Once connected, they can be used across Agent Platform in Agentic Apps, Prompt Studio, Tools, and Evaluation Studio. Supported Providers (Easy Integration): Custom Models (API Integration): Connect any model via REST API endpoint. For the complete list of supported models, see Supported Models.

Manage Connected Models

View Models

  • Go to ModelsExternal Models to see all connected models.

Manage Connections

Each model can have multiple connections with different API keys, enabling separate usage tracking and billing. When adding multiple API keys for the same model, each connection must have a unique name and API key. In Agentic Apps, you can assign specific connections at the Agent or Supervisor level.

Add a Model via Easy Integration

Use Easy Integration for commercial providers with API keys or IAM roles.

Standard Providers (OpenAI, Anthropic, Google, Cohere)

  1. Go to ModelsExternal ModelsAdd a model.
  2. Select Easy Integration → click Next.
  3. Choose your provider → click Next.
  4. Select a model from the supported list.
  5. Enter a Connection name and your API key.
  6. Click Confirm.
The model is now available across Agent Platform.

Amazon Bedrock

Bedrock uses IAM role-based authentication instead of API keys. Prerequisites: Create an IAM role in AWS with Bedrock permissions and a trust policy allowing Agent Platform to assume the role. See Configuring Amazon Bedrock for IAM setup. Steps:
  1. Go to ModelsExternal ModelsAdd a model.
  2. Select Easy IntegrationAWS BedrockNext.
  3. Configure credentials and model details:
  1. Configure model settings using Default or Existing Provider Structures.
  2. Click Confirm.

Vertex AI

Vertex AI uses API key authentication to access Gemini models (2.5 and 3.0 families) from your Google Cloud account. Prerequisites: Create an API key in your Google Cloud account with Vertex AI API access.
  • New users: Use the express mode setup to generate an API key automatically, then manage keys under APIs & Services > Credentials.
  • Existing users: Enable the Vertex AI API, create a service account (vertex-ai-runner) with the Vertex AI Platform Express User role, create an API key linked to that service account under APIs & Services > Credentials, and store the key securely.
Steps:
  1. Go to ModelsExternal ModelsAdd a model.
  2. Select Easy IntegrationVertex AINext.
  3. Choose a configuration method:
  • Option A: Manual Setup Click Confirm to save.
  • Option B: Import from cURL Enter a Connection name, paste a cURL command in the text area, click Fetch to extract the configuration, then click Confirm.
The model is now available across Agent Platform.

Microsoft Foundry

Microsoft Foundry supports two authentication methods: entering credentials manually or using an Azure Active Directory Service Principal. Steps:
  1. Go to ModelsExternal ModelsAdd a model.
  2. Select Easy IntegrationMicrosoft FoundryNext.
  3. Choose an authentication method:
  • Option A: Enter Manually Directly provide credentials from your model’s Details page in Microsoft Foundry.
  • Option B: Use Service Principal Authenticate through an Azure Active Directory Service Principal. Requires a pre-configured Microsoft Foundry connection. Enter a unique Connection name to identify this connection.
If no connection exists, click Configure Service Principal and complete these steps:
  1. In the Azure Portal, go to App registrations+ New registration. Enter a name, select account type, and click Register.
  2. Copy the Application (Client) ID and Directory (Tenant) ID from the Overview page.
  3. Go to Certificates & secrets+ New client secret. Set an expiry and copy the Value immediately.
  4. In your resource group, go to Access control (IAM)Add role assignment. Assign a role (for example. Contributor) and select your registered app.
  5. Click Configure Service Principal in the Platform, enter a Connection name, and fill in Tenant ID, Application (Client) ID, Client Secret, and Subscription ID. Click Test, then Save.
  6. Configure model settings under Model configurations. Enable the features your model supports:
You must enable Tool calling for the model to work in Agentic Apps.
Under Body, specify the model name and select a provider to set the API reference:
  1. Click Save as draft to store without activating, or Confirm to finalize.
The model is now listed in the External Models tab and available in Prompts, Tools, and Agentic Apps.

Add a Model via API Integration

Use API Integration for custom endpoints or self-hosted models.
For Agentic Apps compatibility, custom models must support tool calling and follow OpenAI or Anthropic request/response structures.

Steps

  1. Go to ModelsExternal ModelsAdd a model.
  2. Select Custom Integration → click Next.
  3. Enter basic configuration:
  1. Configure model settings using Default or Existing Provider Structures.
  2. Click Confirm

Model Configuration Modes

When using API Integration or advanced Bedrock setup, choose one of these configuration modes:

Default Mode

Manually configure request/response handling for complete control. 1. Define Variables 2. Configure Request Body Create JSON payload using {{variable}} placeholders:
3. Map Response JSON Paths Click Test to send a sample request, then configure extraction paths:

Existing Provider Structures Mode

Automatically apply pre-defined schemas from known providers. Recommended when your model follows a standard API format. 1. Enable Model Features Enable only the features your model supports. Enabling unsupported features may cause unexpected behavior. 2. Configure Model Request Settings (Body) a. Model Name: Specify the model identifier to include in the request body. b. API reference: Select a provider to set the API reference. c. Model Parameters: Configure how the model generates responses. Example custom parameters

Troubleshooting