OpenClaw LogoShipClawFast
  • Introduction
  • Prerequisites
  • Clone And Install
  • Supabase Setup
  • Llm Api Keys
  • Vercel
  • Polar Setup
  • Flyio Setup
  • Deploy Api
  • Push Agent Image
  • Environment Variables
  • Going Live
  • How To Customize

LLM API Keys

Before you start this guide: You must have completed 04 — Supabase Setup.

OpenClaw connects to AI providers like Google, OpenAI, and Anthropic to power your agents. You can choose to provide only one of these, or all three depending on which models you want to sell.

All of these are completely free to generate keys for, but you only pay for what your customers actually use.


Get the Google Gemini Key (Required)

Gemini is the default brain for OpenClaw.

  • 1.1 Open your browser and go to: https://aistudio.google.com/app/apikey

  • 1.2 Sign in with your Google account.

  • 1.3 Click the blue "Create API key" button.

  • 1.4 Select the first project option (e.g. "Generative Language Client") to create the key.

  • 1.5 A long string of random letters and numbers will appear (starting with AIzaSy...).

Important: Click "Copy". Once closed, you cannot see it again.

  • 1.6 Open your .env file in the main folder using your code editor. Add a new line at the bottom, and paste the key:
GOOGLE_API_KEY=YOUR_COPIED_KEY_HERE
Tick the checkbox if you completed the step successfully.

Get the OpenAI Key (Optional, for GPT-5.2/5-mini models)

If you want your customers to use ChatGPT models, you need this key.

  • 2.1 Go to: https://platform.openai.com/api-keys

  • 2.2 Log in or create an account. Look for "API Keys" on the left sidebar.

  • 2.3 Click Create new secret key. Name it "ShipClawFast".

  • 2.4 Copy the key (it starts with sk-proj...).

  • 2.5 Go to your .env file and add:

OPENAI_API_KEY=YOUR_COPIED_KEY_HERE
Tick the checkbox if you completed the step successfully.

Get the Anthropic Key (Optional, for Claude models)

If you want your customers to use Claude models, you need this key.

  • 3.1 Go to: https://console.anthropic.com/settings/keys

  • 3.2 Log in or create an account.

  • 3.3 Click Create Key. Name it "ShipClawFast".

  • 3.4 Copy the key (it starts with sk-ant...).

  • 3.5 Go to your .env file and add:

ANTHROPIC_API_KEY=YOUR_COPIED_KEY_HERE
Tick the checkbox if you completed the step successfully.

Checklist — Before moving on

Your .env file should now have your database keys and your AI keys:

[... your Supabase keys from earlier ...]
GOOGLE_API_KEY=AIzaSy...
OPENAI_API_KEY=sk-proj...
ANTHROPIC_API_KEY=sk-ant...

(If you only did Google, that is totally fine! Just skip the other two lines).

  • I have generated at least one LLM API key
  • I have pasted it into my .env file

When every checkbox above is ticked, move on to 06 — Vercel Setup.

Category: cloud-directShipClawFast Engine