docs
Integrations

Providers

How to connect provider API keys to Optiak, and how to add custom OpenAI-compatible providers.

Providers lets you connect your own provider credentials so Optiak can route requests through your provider accounts, either using a built-in provider or a custom OpenAI-compatible endpoint.

Add provider keys in Company Setup -> Providers. Choose a provider tab, click Add key, paste the credential, and save it. Keys are stored encrypted and are not displayed again after submission.

After a provider key is connected, go to Company Setup -> Models to review and enable the builtin models your organization can use from that provider. Models from configured custom providers are listed separately when they are enabled, even if the organization has no Optiak provider key.

Custom Providers

Select the Custom tab in Company Setup -> Providers, then add a name, immutable slug, endpoint base URL, and API key. Expand the provider card to add its models and optional input/output pricing. Use the edit controls to update provider or model details, or hold the delete control to remove them.

OpenAI

To obtain an OpenAI API key:

  1. Go to platform.openai.com/api-keys
  2. Click Create new secret key
  3. Give it a name (e.g. Optiak) and set the desired permissions
  4. Copy the key - it will only be shown once
Your OpenAI key must have permission to use the models you want to enable in Optiak.

Anthropic

To obtain an Anthropic API key:

  1. Go to console.anthropic.com/settings/keys
  2. Click Create Key
  3. Copy the key - it will only be shown once
Claude models require an active Anthropic account with billing enabled.

AWS

Optiak uses AWS Bedrock to access Amazon foundation models. You need AWS credentials with Bedrock inference access in the region used by your Optiak workspace.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "bedrock:InvokeModel",
        "bedrock:InvokeModelWithResponseStream",
        "bedrock:GetInferenceProfile",
        "bedrock:ListInferenceProfiles"
      ],
      "Resource": "*"
    }
  ]
}

Getting Your Credentials

  1. Go to the IAM Console
  2. Create a user or role with Bedrock inference access
  3. Generate credentials for that identity
  4. Paste the credential value expected by your Optiak workspace into the AWS Bedrock provider key field
Make sure the models you want to use are enabled in the AWS Bedrock console under Model access.

Azure

Use the Azure provider to connect an Azure OpenAI Service resource. Unlike the other providers, an Azure key is only usable together with the name of the resource that issued it, so Optiak asks for both.

To obtain your credentials:

  1. Go to the Azure Portal and open your Azure OpenAI resource
  2. Under Resource Management -> Keys and Endpoint, copy KEY 1 or KEY 2
  3. Note the resource name - it is the first label of the endpoint, so for https://my-openai-resource.openai.azure.com/ the resource name is my-openai-resource
  4. In Optiak, paste the key into API Key and the resource name into Resource Name

The Resource Name field accepts letters, numbers, and hyphens only, must be at least 2 characters long, and must start and end with a letter or number.

Deploy the models you want to use in Azure AI Foundry before enabling them in Optiak. A key alone does not grant access to a model that has no deployment in the resource.

Google

Use the Google provider when you want to connect a Gemini API key from Google AI Studio.

To obtain a Gemini API key:

  1. Go to aistudio.google.com/app/apikey
  2. Create or select a Google Cloud project
  3. Create a Gemini API key
  4. Copy the key and paste it into Optiak under the Google provider tab
Google recommends using the current Gemini API key type available in AI Studio. Make sure billing, quota, and regional availability match your production needs.

Vertex AI

Use Vertex AI when your organization wants Gemini models billed and governed through Google Cloud Vertex AI.

Setting Up a Service Account

  1. Go to the Google Cloud Console
  2. Navigate to IAM & Admin -> Service Accounts
  3. Create a new service account with the Vertex AI user role (roles/aiplatform.user)
  4. Under the service account, go to Keys -> Add Key -> Create new key (JSON)
  5. Download the JSON key file
  6. Paste the contents of the JSON file into the key field in Optiak

Enabling the API

Make sure the Vertex AI API is enabled in your project:

gcloud services enable aiplatform.googleapis.com
Vertex AI models are billed through your Google Cloud project. Ensure billing is active and quotas are sufficient.

Mistral

To obtain a Mistral API key:

  1. Go to console.mistral.ai/api-keys
  2. Click Create new key
  3. Give it a name (e.g. Optiak) and select the desired permissions
  4. Copy the key - it will only be shown once
Your Mistral key must have access to the models you want to enable in Optiak.
Copyright © 2026