C3 AI Documentation Home

Configure a Custom Endpoint for your Cloud Provider Bucket

The C3 Agentic AI Platform stores its configuration in your cloud provider's storage bucket. This bucket resides in the standard cloud provider domain by default.

The platform supports using a custom endpoint your cloud provider's bucket. Here are some reasons why you might want to use a custom endpoint for your deployment:

  • Configure additional security measures
  • Leverage network configurations to optimize performance
  • Manage and route traffic within your own network
  • Facilitate external access through specific gateways or proxies

Complete the following steps to configure a custom endpoint for this bucket:

  1. Define the endpoint
  2. Set the configuration

Configure a custom endpoint

This example uses Amazon Web Services (AWS) as an example cloud provider. Replace the cloud provider as needed according to your own deployment.

See the following table for relevant Types for your cloud provider:

Cloud ProviderCredentials TypeBucket Type
AWSAwsCredentialsAwsS3Bucket
GCPGcpCredentialsGcpBucket
AzureAzureCredentialsAzureBlobContainer

Requirement

You must have the C3.ClusterAdmin role to configure a custom endpoint.

Define the endpoint

In the C3 AI Console, create an instance of the AwsCredentials Type.

Set the following fields:

  • accessKey and secretKey: Example authentication mechanism. This may vary depending on your cloud provider configuration.
  • endpoint: Custom endpoint for the Amazon S3 bucket
JavaScript
AwsCredentials = AwsCredentials.make({
    "accessKey": <access-key>,
    "secretKey": <secret-key>,
    "endpoint": <you-custom-endpoint>
})

Set the configuration

In the C3 AI Console, set the custom endpoint configuration with the AwsS3Bucket Type.

Pass the following:

  • Your Amazon S3 bucket name
  • The AwsCredentials Type

Then, clear the bucket cache.

JavaScript
AwsS3Bucket.setCredentialsForResourceName("<your-bucket-name>", AwsCredentials)
AwsS3Bucket.clearCache()

Configure a custom endpoint for air-gapped environments

To configure a custom endpoint for air-gapped environments, contact C3 AI Operations to modify your deployment.

See also

Was this page helpful?