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

  1. Select Apps in the left navigation pane on the Anywhere Cloud Console.
  2. Search for the required Cloudera AI Gateway and Inference instance.

    Ensure that the status of the instance is Deployed.

  3. Click on the name of the required instance.

    A pane opens displaying the available information for the selected instance.

  4. Click the URL of the selected Cloudera AI Gateway and Inference instance.

    The Cloudera AI Gateway and Inference home page is displayed.

  5. Select Endpoints in the AI Gateway section.

    The Endpoints home page is displayed.

  6. Click Create endpoint.

    The Create endpoint details page is displayed.

  7. Configure the Endpoint details.
    1. Enter a unique Name for the model endpoint.

      The name must contain only lowercase letters, numbers, and hyphens.

    2. Optional: Provide a short Description of the model endpoint. The description must be fewer than 5000 characters.
    3. The Base URL is generated from the endpoint name.
    4. Click Next.
  8. 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.

    1. Click Add route.

      The Add model route configuration window is displayed.

    2. Specify the Route name.
    3. Select the Backend.
      1. 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.

      2. 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:
        1. Enter the Azure target endpoint base URL.
        2. In Model, enter the Azure deployed model name.
        3. Enter your Azure API key.
        4. Enter the API version string, for example, 2024-10-21.
        For AWS Bedrock:
        1. Enter the AWS Bedrock target endpoint base URL.
        2. In Model, enter the Bedrock model ID.
        3. Enter your AWS Bedrock Bearer token.
        For Open AI:
        1. Enter the OpenAI target endpoint base URL.
        2. Enter the OpenAI Model ID in Model, for example, gpt-4o.
        3. Choose Enter API key in the Credential source drop/down menu.
        4. Enter your OpenAI API key.
        Google Gemini:
        1. Enter the Google Gemini target endpoint base URL in URL.
        2. Specify the required model form the drop-down list in Model.
        3. Enter the service account key to Service account JSON.
        4. Define the Project.
        5. Specify the Region.
        Anthropic:
        1. Enter the Google Gemini target endpoint base URL in URL.
        2. Specify the required model form the drop-down list in Model.
        3. Enter your API key.
      3. Click Add route.
      4. Click Next.
  9. 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.

  10. Click Create endpoint.