Home/Help Center/Bring your own AI key

Automation

Bring Your Own OpenAI or Anthropic Key

Connect your own OpenAI or Anthropic API key so the AI chatbot, reply suggestions and summaries run on your chosen model instead of the free hosted default.

By Chirag Darji · Updated 27 Aug 2026 · 6 min read

On this page
  1. Before you start
  2. Steps
  3. What you will see
  4. Settings and options
  5. Troubleshooting
  6. Related reading
Chat widget setup in VGraple CRM: appearance, welcome message, position and AI settings

VGraple CRM's AI features work out of the box on a free, hosted Groq model, but you can connect your own OpenAI or Anthropic key if you specifically want GPT-4o Mini or Claude Haiku to answer instead. This article covers adding a key, what changes once you do, and a real limitation worth knowing: embeddings for semantic search need an OpenAI key specifically, no matter which provider answers chat.

Bring your own AI key: first 5 of 6 steps

  1. 1Get an API key from your chosen
  2. 2Go to Settings, then AI & Flows
  3. 3Save
  4. 4If you now have more than one
  5. 5Check individual AI Response nodes and the
The steps on this page, in order.

Before you start

  • Only Owner and Super Admin roles can view and edit these keys, since the settings page is restricted to roles with secret-viewing access.
  • Groq's key is free (no credit card, up to 14,400 requests a day) and is enough to use every AI feature in the product without adding a paid key at all.
  • Your own OpenAI or Anthropic key is billed directly by that provider at its own published rates; VGraple CRM adds no markup on top.
  • If your knowledge base needs semantic vector search rather than keyword fallback search, you need an OpenAI key specifically for embeddings, even if your chat model is Anthropic or Groq.

Steps

  1. Get an API key from your chosen provider. Anthropic's console, OpenAI's platform dashboard, or Groq's console (free, no card) all issue keys directly; links to each are shown next to the matching field in the app.

AI and flows settings in VGraple CRM with provider keys and the Cron secret

  1. Go to Settings, then AI & Flows. Paste your key into the matching field (Anthropic API Key, OpenAI API Key, or Groq API Key). Each field is masked by default; click the eye icon to reveal what you typed before saving.
  2. Save. The key is stored encrypted and takes effect immediately for new AI calls; nothing needs to be redeployed or restarted.
  3. If you now have more than one key, set a Default AI Model. This dropdown only appears once at least one key exists, and it controls reply suggestions, conversation summaries, and the provider a brand-new Flow Builder AI node starts with.
  4. Check individual AI Response nodes and the chat widget, if relevant. Each one can be set to a specific provider independently of your org default; adding a new key does not retroactively change an existing node's chosen provider unless you edit it.
  5. Add an OpenAI key separately if you want semantic search, even if OpenAI is not your chat model of choice. This is the one case where a second key genuinely changes behavior beyond just "which model answers."

An organisation standardized on Anthropic for its brand of writing, for example, would add only the Anthropic key for chat, and could stop there. But if that same organisation's knowledge base is large enough that keyword search starts missing genuinely relevant chunks, adding an OpenAI key too, purely for embeddings, upgrades retrieval quality without touching which model actually writes the replies.

What you will see

Once a key is saved, it becomes selectable everywhere a provider picker exists: the Default AI Model dropdown, individual AI Response node settings, the chat widget's AI provider, and the AI debugger's test buttons. A provider with no key shows as greyed out and disabled in the debugger, and is simply absent from any dropdown that only lists configured options. Removing a key later does not break anything that was using it; every code path that calls an AI provider falls back automatically to any other configured key rather than failing outright.

The fallback order favors the cheapest usable option first: an AI Response node whose saved provider now has no key checks Groq before OpenAI, and OpenAI before Anthropic, so a missing key degrades to a free reply rather than a costly one by default. This only matters as a background safety net; day to day, whichever provider you actually pick for a node or widget is the one that answers.

Settings and options

Setting or fieldWhat it doesDefault
Anthropic API KeyPowers Claude Haiku in Flow Builder, reply suggestions, and the AI debuggerNot set
OpenAI API KeyPowers GPT-4o Mini in the same places, and is the only provider that generates knowledge base embeddingsNot set
Groq API Key (Free)Powers a hosted model (GPT-OSS 120B) with no cost or card requiredNot set
Default AI ModelWhich provider answers reply suggestions, summaries, and new AI nodes by defaultFirst configured provider
Per-node / per-widget providerOverrides the org default for one specific AI Response node or chat widgetInherits org default at creation time
Provider fallbackAutomatically switches to another configured key if the chosen provider's key is missing or failsAlways on, not configurable

Troubleshooting

SymptomLikely causeFix
The Anthropic or OpenAI field will not saveThe pasted key is malformed or was copied with extra whitespaceRe-copy the key directly from the provider's dashboard and paste it fresh
Knowledge base retrieval feels imprecise despite having an Anthropic keySemantic search needs an OpenAI key specifically for embeddings; an Anthropic-only setup falls back to full-text and keyword searchAdd an OpenAI key purely to power embeddings, even if Claude remains your chat model
A flow's AI Response node still uses a provider you removed the key forThe node's saved provider setting did not change on its own; it now falls back automatically to another configured key at runtimeThis is expected and not a problem; edit the node directly if you want its saved provider label updated too
The Settings, AI & Flows page redirects you elsewhereYour role does not have secret-viewing accessAsk an Owner or Super Admin to add the key, or to grant your role that access if appropriate
Costs on your OpenAI or Anthropic account are higher than expectedEvery AI Response node, reply suggestion, summary, and embedding call using that provider bills against the same keyReview which flows and widgets are set to that provider; switching high-volume, low-complexity nodes to the free Groq key reduces paid usage

See setting up the AI chatbot for where these keys get used day to day, and knowledge base sources for the specific OpenAI-only embeddings dependency in more detail.

Frequently asked questions

Do I need my own key to use the AI chatbot at all?
No. Groq's key is free with no credit card and powers a hosted default model out of the box. Bringing your own OpenAI or Anthropic key is for organisations that specifically want a different model, not a requirement to get AI features working.
Which model does each provider power?
Anthropic powers Claude Haiku, OpenAI powers GPT-4o Mini, and Groq powers a hosted open-weight model (GPT-OSS 120B as of this writing). All three appear as options wherever a provider picker exists, once their key is added.
What happens if I add more than one key?
You get a Default AI Model dropdown to choose which one powers reply suggestions, conversation summaries, and new Flow Builder AI nodes by default. Individual AI Response nodes and the chat widget can still be set to a different provider than the org default, per node or per widget.
Does my own key change my bill for AI features?
Your provider bills you directly for usage on your own key, at that provider's own rates; VGraple CRM does not add a markup. Using Groq costs nothing, since its free tier covers up to 14,400 requests a day with no credit card required.
Why does my knowledge base still use keyword search even though I added an Anthropic key?
Semantic vector search specifically needs an OpenAI key, since embeddings are generated with OpenAI's text-embedding-3-small model regardless of which provider answers the chat itself. An Anthropic-only or Groq-only organisation still gets full-text and keyword search, just not vector similarity search, unless an OpenAI key is also added.
Who can add or change these keys?
Only Owner and Super Admin roles, since Settings, then AI & Flows is restricted to roles that can view organisation secrets. If the page redirects you elsewhere, your role does not have that access.
What happens if I remove a key that a flow node is actively using?
The flow executor falls back automatically to any other configured provider's key the next time that node runs, rather than failing outright. If no key remains at all, the node returns a generic fallback reply instead of the customer's expected answer.

Run your WhatsApp on VGraple CRM

Free forever plan, official Meta WhatsApp Business API, set up in 15 minutes. No card needed.