Skip to content

Bring your own LLM

Bring your own LLM lets Org Admins connect Mindflow to LLM infrastructure you already run—OpenAI, Anthropic, Azure AI Foundry, LiteLLM, Google Gemini, Mistral, and similar providers—and choose which providers are available in the organization. You create a credential for the provider, enable it under Allowed AI providers, then pick those models in an AI··Task. OpenAI and Amazon Bedrock can also stay on credentials provided by Mindflow.

  • Your security or compliance policy requires LLM calls to go through your own OpenAI, Anthropic, Azure AI Foundry, LiteLLM, Gemini, or Mistral account.
  • You want Org Admins to turn providers on or off for AI··Task, Agents, and AI··Rooms.
  • Prefer Mindflow-hosted models when you do not need a customer credential—leave the provider on Provided by Mindflow for OpenAI or Amazon Bedrock.

Before you begin, you need Org Admin rights. For Anthropic, Azure AI Foundry, LiteLLM, Gemini, or Mistral, have the provider endpoint and API key (or headers) ready. LiteLLM may be off for your tenant until Mindflow enables it.

Credentials for customer-hosted vendors live in the Organization environment so the organization can link them under Allowed AI providers. Create one credential per provider you plan to enable with your own key.

Create an OpenAI credential (HTTP API key style) with the API base URL and an Authorization header.

  1. Open Environments. Open the Organization environment, then create a credential for OpenAI.

  2. Set the URL. Choose the OpenAI API base (for example https://api.openai.com/v1) or your compatible endpoint.

  3. Add the Authorization header. Under Headers, set Name to Authorization and Value to Bearer plus your API key (include the word Bearer).

  4. Create the credential. Confirm so it appears for OpenAI under Allowed AI providers.

Allowed AI providers on the Organization page controls which vendors appear in AI··Task, Agents, and AI··Rooms. Enable a provider, then choose Provided by Mindflow (OpenAI or Amazon Bedrock) or a credential you created. Changes save automatically—there is no separate Save control.

  1. Open Organization. In Studio, open your profile menu, then choose Organization.

  2. Open Allowed AI providers. Scroll to Allowed AI providers.

    Organization Allowed AI providers with vendor checkboxes and credential pickers

  3. Enable the provider. Check the vendor you need. Only enabled providers are available to the organization.

  4. Link the credential. For Anthropic, Azure AI Foundry, LiteLLM, Gemini, or Mistral, choose the credential you created. For OpenAI or Amazon Bedrock, leave Provided by Mindflow or select your own OpenAI credential when you use one.

After a provider is enabled, its models appear in the AI··Task model picker (catalog models for Mindflow-hosted vendors, Anthropic, Gemini, and Mistral; credential model lists for Azure AI Foundry and LiteLLM).

  1. Add an AI··Task. In a flow, add an AI··Task step and open Input.

    Draft incident summary flow with Summarize alert AI··Task Input open and Model GPT-5.2 selected

  2. Choose the model. Pick a model from an enabled provider. If the same model name exists on two providers, choose the provider you intend.

  3. Run a test. Fill the required prompt fields and run the step to confirm the credential and model respond.

A security team routes triage prompts through Anthropic and enrichment through Google Gemini. An Org Admin creates an Anthropic credential (x-api-key), enables Anthropic under Allowed AI providers, and picks a Claude model on AI··Task. For Gemini, they create a Gemini credential (X-goog-api-key from Google AI Studio), enable Gemini, then select a Gemini model on another AI··Task.

  1. Create the Anthropic credential. Organization environment → Anthropic → Headers → x-api-key → Create.
  2. Enable Anthropic. Organization → Allowed AI providers → check Anthropic → select the credential.
  3. (Optional) Create the Gemini credential. Organization environment → Gemini → Headers → X-goog-api-key → enable Gemini and pick a catalog model on AI··Task.
  • Grant access only to the models you need (least privilege on the provider side).
  • Amazon Bedrock stays Mindflow-hosted; you cannot attach a customer Bedrock credential in Allowed AI providers.
  • Provider availability depends on organization feature flags (LiteLLM is often off until Mindflow enables it).
  • Gemini and Mistral use catalog models after you link the credential—same pattern as Anthropic (no deployment list on the credential).

Related: Use AI in flows, Manage permissions (RBAC).