Skip to content

AI Connections & Bring Your Own Key (BYOK)

You can connect your organization’s own large language model (LLM) provider API keys (OpenAI key, Azure OpenAI, or Anthropic key) via the Credential Profile (/settings/credential-profilespage. When an automation step or bot uses your own API key, token usage is still recorded for analytics but it does not deduct your platform wallet balance.

  • You want to use your company’s own OpenAI, Azure OpenAI, or Anthropic API contract or quota for AI features on the platform.
  • You want to assign Default AI connection at the account level or choose a different AI credential profile for specific steps in Flow Builder.

Adding an AI credential profile and setting the Default AI Connection

Section titled “Adding an AI credential profile and setting the Default AI Connection”
  1. Open Settings › Credential Profile (/settings/credential-profiles), then click Create Profile.
  2. Enter Name (for example OpenAI Produksi) and Description (optional).
  3. In the Type, select one of the following AI provider types and fill in the required fields:
    • OpenAI key (OpenAI key): Fill in API key, Base URL (optional, HTTPS) if using a custom gateway, and Default model (optional).
    • Azure OpenAI (Azure OpenAI): Fill in API key, Endpoint URL (HTTPS) (must begin with https://), Deployment name, and API version.
    • Anthropic key (Anthropic key): Fill in API key, Model, and Base URL (optional, HTTPS).
  4. Click Create Profile to store credentials in encrypted form.
  5. To make this profile the default connection for all AI features in your account:
    • On the Default AI connection at the top of the page Credential Profile, select the profile you just created (or select Platform default to revert to using platform-managed keys).
    • Changes are saved automatically and display the message Default AI connection updated..

Selecting a per-step AI connection in Flow Builder

Section titled “Selecting a per-step AI connection in Flow Builder”

In addition to managing Default AI connection , you can select a specific credentials profile on each AI step in Flow Builder:

  1. Open the automation flow in Flow Builder, then click the AI Step (Ask AI) or AI Agent (AI Agent).
  2. On the AI connection dropdown, select:
    • Tenant default / platform: Follows the selection on the Default AI connection in Settings › Credential Profile.
    • A specific credential profile: Uses the API key on that profile specifically for this step.
  3. Click Save.

AI Credential Type Reference & Billing Terms

Section titled “AI Credential Type Reference & Billing Terms”
Type / Setting (ID / EN)Configuration FieldsFeature & Billing Support
Default platform (Platform default)Does not require its own API key.Supports all AI features. Token usage is billed to your account’s AI wallet according to the model rates in How Fees & Billing Work.
OpenAI Key (OpenAI key)API key, Base URL (optional, HTTPS), Default model (optional).Supports Ask AI, AI Agent (AI Agent), and AI bots. Usage is recorded in the AI usage log but is not billed by the platform.
Azure OpenAI (Azure OpenAI)API key, Endpoint URL (HTTPS), Deployment name, API version.Supports Ask AI, AI Agent (AI Agent), and AI bots. Usage is recorded but not billed by the platform.
Anthropic Key (Anthropic key)API key, Model, Base URL (optional, HTTPS).Supports the Ask AI step and text-based AI bots. Cannot be used on the AI Agent node (AI Agent) because that node requires function calling (tool calling) in OpenAI/Azure format. Usage is recorded but not billed by the platform.