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:
- Go to platform.openai.com/api-keys
- Click Create new secret key
- Give it a name (e.g.
Optiak) and set the desired permissions - Copy the key - it will only be shown once
Anthropic
To obtain an Anthropic API key:
- Go to console.anthropic.com/settings/keys
- Click Create Key
- Copy the key - it will only be shown once
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.
Recommended IAM Permissions
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"bedrock:InvokeModel",
"bedrock:InvokeModelWithResponseStream",
"bedrock:GetInferenceProfile",
"bedrock:ListInferenceProfiles"
],
"Resource": "*"
}
]
}
Getting Your Credentials
- Go to the IAM Console
- Create a user or role with Bedrock inference access
- Generate credentials for that identity
- Paste the credential value expected by your Optiak workspace into the AWS Bedrock provider key field
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:
- Go to the Azure Portal and open your Azure OpenAI resource
- Under Resource Management -> Keys and Endpoint, copy KEY 1 or KEY 2
- Note the resource name - it is the first label of the endpoint, so for
https://my-openai-resource.openai.azure.com/the resource name ismy-openai-resource - 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.
Use the Google provider when you want to connect a Gemini API key from Google AI Studio.
To obtain a Gemini API key:
- Go to aistudio.google.com/app/apikey
- Create or select a Google Cloud project
- Create a Gemini API key
- Copy the key and paste it into Optiak under the Google provider tab
Vertex AI
Use Vertex AI when your organization wants Gemini models billed and governed through Google Cloud Vertex AI.
Setting Up a Service Account
- Go to the Google Cloud Console
- Navigate to IAM & Admin -> Service Accounts
- Create a new service account with the Vertex AI user role (
roles/aiplatform.user) - Under the service account, go to Keys -> Add Key -> Create new key (JSON)
- Download the JSON key file
- 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
Mistral
To obtain a Mistral API key:
- Go to console.mistral.ai/api-keys
- Click Create new key
- Give it a name (e.g.
Optiak) and select the desired permissions - Copy the key - it will only be shown once