Skip to content
Browse the help center

Connect OpenAI or Anthropic

Add your own OpenAI or Anthropic API key to ChatFlow GO, choose a model, test the key and switch on the AI assistant.

3 min read

ChatFlow GO's AI assistant runs on your own account with an AI provider. This guide shows you how to connect an OpenAI or Anthropic (Claude) key, test it and turn the assistant on. It takes about five minutes.

Before you start

  • You need the Owner or Admin role. Other roles can see the settings but cannot change them.
  • You need an API key from your provider:
    • OpenAI: create a key in the OpenAI platform dashboard. Keys start with sk-.
    • Anthropic: create a key in the Anthropic Console. Keys start with sk-ant-.
  • Make sure the provider account has billing set up. Most providers reject requests from accounts with no credit.

Add your key

  1. Click AI Agents in the sidebar, then the Setup tab.
  2. Under Provider & key, choose a Provider: OpenAI or Anthropic (Claude).
  3. Check the Model. ChatFlow GO pre-fills a fast, low-cost default for each provider (gpt-5.4-mini for OpenAI and claude-haiku-4-5-20251001 for Anthropic at the time of writing). You can type any other model name your key has access to.
  4. Paste your key into API key.
  5. Click Test key. You should see "Key works — the provider responded."
  6. Scroll down and click Save. You will see "AI assistant saved."

Your key is encrypted at rest (AES-256-GCM). After you save, it shows as a row of dots and is never displayed again. To replace it, click the field and paste a new key.

Write your instructions

Under Behaviour, fill in Business context & instructions. This text guides every draft and auto-reply. Include:

  • Who you are and what you sell.
  • The tone to use, for example "warm, short, no emojis".
  • What the assistant must not do, for example "Never quote prices or delivery dates. Hand off to a human for those."

Example:

We are Acme Coffee, an online store for home espresso machines.
Be friendly and concise, two or three sentences at most.
Answer questions about our products, shipping zones and returns
using the knowledge base. Never promise delivery dates, discounts
or refunds. If someone is upset or asks for a person, hand off.

Turn the assistant on

Still under Behaviour:

  1. Switch on Enable AI assistant. This is the master switch. It turns on the "Draft a reply with AI" button in the inbox for your team.
  2. Leave Auto-reply to inbound messages off for now. Use drafts for a few days first, then follow AI auto-reply and human handoff.
  3. Click Save.

Optional: add an embeddings key

The Embeddings key field takes an OpenAI key. ChatFlow GO uses it only to index your knowledge base for semantic search, which finds answers by meaning rather than exact words. It uses OpenAI's text-embedding-3-small model.

  • If your main provider is OpenAI, you can paste the same key.
  • If you use Anthropic, you need a separate OpenAI key for this.
  • Leave it blank to use keyword search instead. Clear it later to turn semantic search off.

After adding an embeddings key to an existing knowledge base, click Reindex in the knowledge base section. See Train your AI with a knowledge base.

Switch provider or remove the key

  • Switch provider: choose the other provider, paste its key, click Test key, then Save.
  • Remove everything: click Remove at the bottom of the Setup tab. This deletes the stored configuration and switches the assistant off.

Troubleshooting

MessageWhat to check
"The provider rejected the request."The key is wrong, revoked or has no credit, or the model name is not available to your key. Check the model spelling
"Could not reach the provider."A temporary network problem. Try again in a minute
"Enter a model name."The Model field is empty
"Enter your API key."You are saving for the first time without a key

If drafts suddenly stop working, check your provider dashboard for billing limits or rate limits. Then check your ChatFlow GO AI allowance on Settings → Plan & billing.

Using several WhatsApp numbers?

Each WhatsApp number in ChatFlow GO is its own workspace with its own AI settings. Click Copy from profile at the top of the Setup tab to copy AI settings from another of your numbers. See Multiple WhatsApp numbers.

Next steps

Was this page helpful?

Still need help?

Our team answers every message.

Contact support