Creating endpoints using UI
Create an endpoint in Cloudera AI Gateway and Inference using the web interface to configure model routes and connect client applications to external third-party model provider backends.
Before creating an Endpoint, you must gather the following credentials from your provider:
-
Azure: Target Endpoint URL, Model ID (deployed model name), API Key, and API Version.
-
AWS Bedrock: Target Endpoint URL, Model ID, Bearer Token, and Region.
-
OpenAI: Target Endpoint URL, Model ID, and API Key.
-
Google Gemini: Target Endpoint URL, Model ID, and API Key
-
Anthropic: Target Endpoint URL, Model ID, and API Key
- Select Apps in the left navigation pane on the Anywhere Cloud Console.
-
Search for the required Cloudera AI Gateway and Inference instance.
Ensure that the status of the instance is
Deployed. -
Click on the name of the required instance.
A pane opens displaying the available information for the selected instance.
-
Click the URL of the selected Cloudera AI Gateway and Inference
instance.
The Cloudera AI Gateway and Inference home page is displayed.
-
Select Endpoints in the AI Gateway
section.
The Endpoints home page is displayed.
-
Click Create endpoint.
The Create endpoint details page is displayed.
-
Configure the Endpoint details.
-
Enter a unique Name for the model
endpoint.
The name must contain only lowercase letters, numbers, and hyphens.
- Optional: Provide a short Description of the model endpoint. The description must be fewer than 5000 characters.
- The Base URL is generated from the endpoint name.
- Click Next.
-
Enter a unique Name for the model
endpoint.
-
Configure the Model routes configuration details.
The route name is the model identifier your application sends in requests. It maps requests to a backend, such as a model deployment, external provider, or another Cloudera AI Gateway and Inference. Each endpoint supports up to 15 routes.
-
Click Add route.
The Add model route configuration window is displayed.
-
Specify the Route name.
-
Select the Backend.
- Click Model deployment.
In the Deployment field, select the applicable model from the drop-down menu.
Model deployment references a Cloudera AI Gateway and Inference Model deployment by name.
- Click External provider to create a route
to a third-party model.
In the Provider field select the applicable provider from the drop-down menu.
The external provider references a cloud provider directly, for example AWS Bedrock, Azure OpenAI, Google Vertex AI, Anthropic. The URL field is automatically filled out.
Enter the provider-specific configuration details:
For Azure Open AI:- Enter the Azure target endpoint base URL.
- In Model, enter the Azure deployed model name.
- Enter your Azure API key.
- Enter the API version string,
for example,
2024-10-21.
For AWS Bedrock:- Enter the AWS Bedrock target endpoint base URL.
- In Model, enter the Bedrock model ID.
- Enter your AWS Bedrock Bearer token.
For Open AI:- Enter the OpenAI target endpoint base URL.
- Enter the OpenAI Model ID in
Model, for example,
gpt-4o. - Choose Enter API key in the Credential source drop/down menu.
- Enter your OpenAI API key.
Google Gemini:- Enter the Google Gemini target endpoint base URL in URL.
- Specify the required model form the drop-down list in Model.
- Enter the service account key to Service account JSON.
- Define the Project.
- Specify the Region.
Anthropic:- Enter the Google Gemini target endpoint base URL in URL.
- Specify the required model form the drop-down list in Model.
- Enter your API key.
- Click Add route.
- Click Next.
- Click Model deployment.
-
Click Add route.
-
Review the configuration details in the Review and
create section.
Verify each step before creating the configuration. You can edit any section from here before submission.
- Click Create endpoint.
