{
  "@context": "https://schema.org",
  "@id": "https://aggr.aymericbeaumet.com/items/philschmid-de/2026-08-31-setup-openclaw-2-0-with-gemini-in-under-60-seconds/#webpage",
  "@type": [
    "WebPage",
    "ArchiveComponent"
  ],
  "articleBody": "Five commands, zero fluff: install OpenClaw 2.0 (`v2026.8.1`), link [Gemini 3.8 Flash](https://blog.google/innovation-and-ai/models-and-research/gemini-models/introducing-gemini-3-7-flash/), our fastest (up to [+300 token/sec](https://artificialanalysis.ai/#speed)) agentic model for coding and agents, and start chatting with live Google search grounding in under a minute.\n\n## What is OpenClaw 2.0?\n\n[OpenClaw](https://openclaw.ai) is a personal AI assistant that actually does things. It runs on your devices, in your chats, with your rules.\n\n- **Chat from anywhere:** Chat from the browser Control UI, Telegram, Discord, WhatsApp, or Slack.\n- **Integrated tooling:** Browser automation, terminal execution, filesystem access, and web search grounding.\n- **Remember:** Keeps memory across sessions so it knows your preferences, projects, and people.\n\n[OpenClaw 2.0](https://openclaw.ai/blog/openclaw-2-accidentally) (`v2026.8.1`) is the largest update yet: simpler install, a rebuilt browser app that opens straight into a conversation, and setup you can finish by talking to your Claw. Full notes: [v2026.8.1](https://docs.openclaw.ai/releases/2026.8.1).\n\n## Prerequisites\n\n- **Node.js:** `Node 26` (recommended) or `Node 22.22.3+` / `24.15+` (`node --version`).\n- **Gemini API Key:** Grab a free key from [Google AI Studio](https://aistudio.google.com/apikey).\n\n## 1\\. Install OpenClaw 2.0\n\nInstall OpenClaw globally via npm:\n\nBash\n\n```bash\nnpm install -g openclaw@2026.8.1\n```\n\nVerify your installation:\n\nBash\n\n```bash\nopenclaw --version\n# Output: OpenClaw 2026.8.1 (ea80657)\n```\n\n## 2\\. Configure Gemini Authentication\n\nExport your Gemini API key in your current shell:\n\nBash\n\n```bash\nexport GEMINI_API_KEY=\"your-gemini-api-key-here\"\n```\n\nTo persist it into OpenClaw's local profile store:\n\nBash\n\n```bash\nopenclaw onboard --non-interactive --accept-risk --skip-health \\\n  --mode local \\\n  --auth-choice gemini-api-key \\\n  --gemini-api-key \"$GEMINI_API_KEY\"\n```\n\n*(Note: You can safely ignore any onboarding tip about configuring a Brave API key—Gemini's built-in Google Search grounding is used automatically.)*\n\n## 3\\. Set Gemini 3.8 Flash as Default\n\nSet **Gemini 3.8 Flash** as the default agent model:\n\nBash\n\n```bash\nopenclaw models set google/gemini-3.8-flash\n```\n\n*(Note: If OpenClaw displays a warning that the model is not in the local catalog, it is safe to ignore. The model is dynamically resolved and validated against Google AI Studio in the next step.)*\n\nVerify model discovery and authentication status:\n\nBash\n\n```bash\nopenclaw models list --provider google\n```\n\n## 4\\. Test Inference via CLI\n\nRun a standalone agent turn in your terminal:\n\nBash\n\n```bash\nopenclaw agent --local --agent main --message \"Hello! What model are you running?\"\n```\n\nOutput:\n\n```text\nI am currently running on google/gemini-3.8-flash.\nWhat would you like to call me?\n```\n\n![OpenClaw CLI Setup](https://www.philschmid.de/static/blog/openclaw-v2-gemini/cli-setup.png)\n\n## 5\\. Start the Gateway & Launch Control UI\n\nSet the gateway to local mode and start it:\n\nBash\n\n```bash\nopenclaw config set gateway.mode local\nopenclaw gateway run\n```\n\n*(To run as a persistent background daemon instead: `openclaw gateway install && openclaw gateway start`. To stop it: `openclaw gateway stop --force`)*\n\nOpen the Control UI in your browser:\n\nBash\n\n```bash\nopenclaw dashboard\n```\n\nThe browser will open to `http://127.0.0.1:18789/` authenticated with your local session token:\n\n![OpenClaw Control UI with Gemini 3.8 Flash](https://www.philschmid.de/static/blog/openclaw-v2-gemini/openclaw-control-ui.png)\n\n## Next Steps\n\n### Google Search Grounding (Enabled by Default)\n\nGoogle Search grounding is **enabled by default** when `GEMINI_API_KEY` is present. No extra configuration or search keys are required.\n\n- Test it directly via CLI:\n\n  Bash\n\n  ```bash\n  openclaw capability web search --query \"Latest gemini models\"\n  ```\n\n- In chat sessions, Gemini autonomously runs web searches with citations whenever fresh context is needed.\n\n![Google Search Grounding in OpenClaw Control UI](https://www.philschmid.de/static/blog/openclaw-v2-gemini/openclaw-websearch.png)\n\n- See: [Google Search Grounding in OpenClaw](https://docs.openclaw.ai/tools/gemini-search)\n\n### Leveraging Other Gemini Capabilities\n\n- **[Image Generation](https://docs.openclaw.ai/tools/image-generation):** Set Google's image model using `openclaw models set-image google/gemini-3.1-flash-image`.\n- **[Video Generation](https://docs.openclaw.ai/tools/video-generation):** Generate 4–8s videos with `google/veo-3.1-fast-generate-preview`.\n- **[Music Generation](https://docs.openclaw.ai/tools/music-generation):** Prompt-driven music via `google/lyria-3-clip-preview`.\n- **[Text-to-Speech](https://docs.openclaw.ai/providers/google#text-to-speech):** Gemini batch TTS with natural language style prompting (`gemini-3.1-flash-tts-preview`).\n- **[Realtime Voice](https://docs.openclaw.ai/providers/google#realtime-voice):** Low-latency bidirectional voice streams via Gemini Live API (`gemini-3.1-flash-live-preview`).\n\nFull [Google Documentation](https://docs.openclaw.ai/providers/google).\n\n### Connecting Chat Channels\n\nConnect your Gemini assistant to your favorite messaging apps using simple CLI commands:\n\n- **Browse all channels:** `openclaw channels list --all`\n- **Interactive setup:** `openclaw channels add`\n- **Telegram:** `openclaw channels add --channel telegram --token \"<BOT_TOKEN>\"`\n- **WhatsApp (QR code):** `openclaw channels login --channel whatsapp`\n- **Discord:** `openclaw channels add --channel discord --token \"<BOT_TOKEN>\"`\n- **Verify channel status:** `openclaw channels status --probe`\n\nFull [Chat Channels Documentation](https://docs.openclaw.ai/channels).\n",
  "authors": [],
  "captured_at": "2026-09-27T19:29:15.293681927+00:00",
  "category": "programming",
  "content_html": "<p>Five commands, zero fluff: install OpenClaw 2.0 (<code>v2026.8.1</code>), link <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://blog.google/innovation-and-ai/models-and-research/gemini-models/introducing-gemini-3-7-flash/\">Gemini 3.8 Flash</a>, our fastest (up to <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://artificialanalysis.ai/#speed\">+300 token/sec</a>) agentic model for coding and agents, and start chatting with live Google search grounding in under a minute.</p>\n<h2>What is OpenClaw 2.0?</h2>\n<p><a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://openclaw.ai\">OpenClaw</a> is a personal AI assistant that actually does things. It runs on your devices, in your chats, with your rules.</p>\n<ul>\n<li><strong>Chat from anywhere:</strong> Chat from the browser Control UI, Telegram, Discord, WhatsApp, or Slack.</li>\n<li><strong>Integrated tooling:</strong> Browser automation, terminal execution, filesystem access, and web search grounding.</li>\n<li><strong>Remember:</strong> Keeps memory across sessions so it knows your preferences, projects, and people.</li>\n</ul>\n<p><a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://openclaw.ai/blog/openclaw-2-accidentally\">OpenClaw 2.0</a> (<code>v2026.8.1</code>) is the largest update yet: simpler install, a rebuilt browser app that opens straight into a conversation, and setup you can finish by talking to your Claw. Full notes: <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://docs.openclaw.ai/releases/2026.8.1\">v2026.8.1</a>.</p>\n<h2>Prerequisites</h2>\n<ul>\n<li><strong>Node.js:</strong> <code>Node 26</code> (recommended) or <code>Node 22.22.3+</code> / <code>24.15+</code> (<code>node --version</code>).</li>\n<li><strong>Gemini API Key:</strong> Grab a free key from <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://aistudio.google.com/apikey\">Google AI Studio</a>.</li>\n</ul>\n<h2>1. Install OpenClaw 2.0</h2>\n<p>Install OpenClaw globally via npm:</p>\n<p>Bash</p>\n<pre><code class=\"language-bash\"><span class=\"code-snippet\" data-language=\"Shell\"><span class=\"syntax-source syntax-shell syntax-bash\"><span class=\"syntax-meta syntax-function-call syntax-shell\"><span class=\"syntax-variable syntax-function syntax-shell\">npm</span></span><span class=\"syntax-meta syntax-function-call syntax-arguments syntax-shell\"> install<span class=\"syntax-variable syntax-parameter syntax-option syntax-shell\"><span class=\"syntax-punctuation syntax-definition syntax-parameter syntax-shell\"> -</span>g</span> openclaw@2026.8.1</span>\n</span></span></code></pre>\n<p>Verify your installation:</p>\n<p>Bash</p>\n<pre><code class=\"language-bash\"><span class=\"code-snippet\" data-language=\"Shell\"><span class=\"syntax-source syntax-shell syntax-bash\"><span class=\"syntax-meta syntax-function-call syntax-shell\"><span class=\"syntax-variable syntax-function syntax-shell\">openclaw</span></span><span class=\"syntax-meta syntax-function-call syntax-arguments syntax-shell\"><span class=\"syntax-variable syntax-parameter syntax-option syntax-shell\"><span class=\"syntax-punctuation syntax-definition syntax-parameter syntax-shell\"> --</span>version</span></span>\n<span class=\"syntax-comment syntax-line syntax-number-sign syntax-shell\"><span class=\"syntax-punctuation syntax-definition syntax-comment syntax-begin syntax-shell\">#</span></span><span class=\"syntax-comment syntax-line syntax-number-sign syntax-shell\"> Output: OpenClaw 2026.8.1 (ea80657)</span><span class=\"syntax-comment syntax-line syntax-number-sign syntax-shell\">\n</span></span></span></code></pre>\n<h2>2. Configure Gemini Authentication</h2>\n<p>Export your Gemini API key in your current shell:</p>\n<p>Bash</p>\n<pre><code class=\"language-bash\"><span class=\"code-snippet\" data-language=\"Shell\"><span class=\"syntax-source syntax-shell syntax-bash\"><span class=\"syntax-meta syntax-function-call syntax-shell\"><span class=\"syntax-storage syntax-modifier syntax-shell\">export</span> <span class=\"syntax-variable syntax-other syntax-readwrite syntax-assignment syntax-shell\">GEMINI_API_KEY</span><span class=\"syntax-keyword syntax-operator syntax-assignment syntax-shell\">=</span><span class=\"syntax-string syntax-unquoted syntax-shell\"><span class=\"syntax-string syntax-quoted syntax-double syntax-shell\"><span class=\"syntax-punctuation syntax-definition syntax-string syntax-begin syntax-shell\">&quot;</span>your-gemini-api-key-here<span class=\"syntax-punctuation syntax-definition syntax-string syntax-end syntax-shell\">&quot;</span></span></span></span>\n</span></span></code></pre>\n<p>To persist it into OpenClaw's local profile store:</p>\n<p>Bash</p>\n<pre><code class=\"language-bash\"><span class=\"code-snippet\" data-language=\"Shell\"><span class=\"syntax-source syntax-shell syntax-bash\"><span class=\"syntax-meta syntax-function-call syntax-shell\"><span class=\"syntax-variable syntax-function syntax-shell\">openclaw</span></span><span class=\"syntax-meta syntax-function-call syntax-arguments syntax-shell\"> onboard<span class=\"syntax-variable syntax-parameter syntax-option syntax-shell\"><span class=\"syntax-punctuation syntax-definition syntax-parameter syntax-shell\"> --</span>non-interactive</span><span class=\"syntax-variable syntax-parameter syntax-option syntax-shell\"><span class=\"syntax-punctuation syntax-definition syntax-parameter syntax-shell\"> --</span>accept-risk</span><span class=\"syntax-variable syntax-parameter syntax-option syntax-shell\"><span class=\"syntax-punctuation syntax-definition syntax-parameter syntax-shell\"> --</span>skip-health</span> <span class=\"syntax-punctuation syntax-separator syntax-continuation syntax-line syntax-shell\">\\\n</span><span class=\"syntax-variable syntax-parameter syntax-option syntax-shell\"><span class=\"syntax-punctuation syntax-definition syntax-parameter syntax-shell\">  --</span>mode</span> local <span class=\"syntax-punctuation syntax-separator syntax-continuation syntax-line syntax-shell\">\\\n</span><span class=\"syntax-variable syntax-parameter syntax-option syntax-shell\"><span class=\"syntax-punctuation syntax-definition syntax-parameter syntax-shell\">  --</span>auth-choice</span> gemini-api-key <span class=\"syntax-punctuation syntax-separator syntax-continuation syntax-line syntax-shell\">\\\n</span><span class=\"syntax-variable syntax-parameter syntax-option syntax-shell\"><span class=\"syntax-punctuation syntax-definition syntax-parameter syntax-shell\">  --</span>gemini-api-key</span> <span class=\"syntax-string syntax-quoted syntax-double syntax-shell\"><span class=\"syntax-punctuation syntax-definition syntax-string syntax-begin syntax-shell\">&quot;</span><span class=\"syntax-meta syntax-group syntax-expansion syntax-parameter syntax-shell\"><span class=\"syntax-punctuation syntax-definition syntax-variable syntax-shell\">$</span><span class=\"syntax-variable syntax-other syntax-readwrite syntax-shell\">GEMINI_API_KEY</span></span><span class=\"syntax-punctuation syntax-definition syntax-string syntax-end syntax-shell\">&quot;</span></span></span>\n</span></span></code></pre>\n<p><em>(Note: You can safely ignore any onboarding tip about configuring a Brave API key—Gemini's built-in Google Search grounding is used automatically.)</em></p>\n<h2>3. Set Gemini 3.8 Flash as Default</h2>\n<p>Set <strong>Gemini 3.8 Flash</strong> as the default agent model:</p>\n<p>Bash</p>\n<pre><code class=\"language-bash\"><span class=\"code-snippet\" data-language=\"Shell\"><span class=\"syntax-source syntax-shell syntax-bash\"><span class=\"syntax-meta syntax-function-call syntax-shell\"><span class=\"syntax-variable syntax-function syntax-shell\">openclaw</span></span><span class=\"syntax-meta syntax-function-call syntax-arguments syntax-shell\"> models set google/gemini-3.8-flash</span>\n</span></span></code></pre>\n<p><em>(Note: If OpenClaw displays a warning that the model is not in the local catalog, it is safe to ignore. The model is dynamically resolved and validated against Google AI Studio in the next step.)</em></p>\n<p>Verify model discovery and authentication status:</p>\n<p>Bash</p>\n<pre><code class=\"language-bash\"><span class=\"code-snippet\" data-language=\"Shell\"><span class=\"syntax-source syntax-shell syntax-bash\"><span class=\"syntax-meta syntax-function-call syntax-shell\"><span class=\"syntax-variable syntax-function syntax-shell\">openclaw</span></span><span class=\"syntax-meta syntax-function-call syntax-arguments syntax-shell\"> models list<span class=\"syntax-variable syntax-parameter syntax-option syntax-shell\"><span class=\"syntax-punctuation syntax-definition syntax-parameter syntax-shell\"> --</span>provider</span> google</span>\n</span></span></code></pre>\n<h2>4. Test Inference via CLI</h2>\n<p>Run a standalone agent turn in your terminal:</p>\n<p>Bash</p>\n<pre><code class=\"language-bash\"><span class=\"code-snippet\" data-language=\"Shell\"><span class=\"syntax-source syntax-shell syntax-bash\"><span class=\"syntax-meta syntax-function-call syntax-shell\"><span class=\"syntax-variable syntax-function syntax-shell\">openclaw</span></span><span class=\"syntax-meta syntax-function-call syntax-arguments syntax-shell\"> agent<span class=\"syntax-variable syntax-parameter syntax-option syntax-shell\"><span class=\"syntax-punctuation syntax-definition syntax-parameter syntax-shell\"> --</span>local</span><span class=\"syntax-variable syntax-parameter syntax-option syntax-shell\"><span class=\"syntax-punctuation syntax-definition syntax-parameter syntax-shell\"> --</span>agent</span> main<span class=\"syntax-variable syntax-parameter syntax-option syntax-shell\"><span class=\"syntax-punctuation syntax-definition syntax-parameter syntax-shell\"> --</span>message</span> <span class=\"syntax-string syntax-quoted syntax-double syntax-shell\"><span class=\"syntax-punctuation syntax-definition syntax-string syntax-begin syntax-shell\">&quot;</span>Hello! What model are you running?<span class=\"syntax-punctuation syntax-definition syntax-string syntax-end syntax-shell\">&quot;</span></span></span>\n</span></span></code></pre>\n<p>Output:</p>\n<pre><code class=\"language-text\"><span class=\"code-snippet\">I am currently running on google/gemini-3.8-flash.\nWhat would you like to call me?\n</span></code></pre>\n<p><picture class=\"article-picture article-picture-fallback\" style=\"--image-ratio:16 / 9\"><img src=\"https://www.philschmid.de/static/blog/openclaw-v2-gemini/cli-setup.png\" alt=\"OpenClaw CLI Setup\" loading=\"eager\" decoding=\"async\" fetchpriority=\"high\" referrerpolicy=\"no-referrer\" class=\"progressive-image\"></picture></p>\n<h2>5. Start the Gateway &amp; Launch Control UI</h2>\n<p>Set the gateway to local mode and start it:</p>\n<p>Bash</p>\n<pre><code class=\"language-bash\"><span class=\"code-snippet\" data-language=\"Shell\"><span class=\"syntax-source syntax-shell syntax-bash\"><span class=\"syntax-meta syntax-function-call syntax-shell\"><span class=\"syntax-variable syntax-function syntax-shell\">openclaw</span></span><span class=\"syntax-meta syntax-function-call syntax-arguments syntax-shell\"> config set gateway.mode local</span>\n<span class=\"syntax-meta syntax-function-call syntax-shell\"><span class=\"syntax-variable syntax-function syntax-shell\">openclaw</span></span><span class=\"syntax-meta syntax-function-call syntax-arguments syntax-shell\"> gateway run</span>\n</span></span></code></pre>\n<p><em>(To run as a persistent background daemon instead: <code>openclaw gateway install &amp;&amp; openclaw gateway start</code>. To stop it: <code>openclaw gateway stop --force</code>)</em></p>\n<p>Open the Control UI in your browser:</p>\n<p>Bash</p>\n<pre><code class=\"language-bash\"><span class=\"code-snippet\" data-language=\"Shell\"><span class=\"syntax-source syntax-shell syntax-bash\"><span class=\"syntax-meta syntax-function-call syntax-shell\"><span class=\"syntax-variable syntax-function syntax-shell\">openclaw</span></span><span class=\"syntax-meta syntax-function-call syntax-arguments syntax-shell\"> dashboard</span>\n</span></span></code></pre>\n<p>The browser will open to <code>http://127.0.0.1:18789/</code> authenticated with your local session token:</p>\n<p><picture class=\"article-picture article-picture-fallback\" style=\"--image-ratio:16 / 9\"><img src=\"https://www.philschmid.de/static/blog/openclaw-v2-gemini/openclaw-control-ui.png\" alt=\"OpenClaw Control UI with Gemini 3.8 Flash\" loading=\"lazy\" decoding=\"async\" fetchpriority=\"low\" referrerpolicy=\"no-referrer\" class=\"progressive-image\"></picture></p>\n<h2>Next Steps</h2>\n<h3>Google Search Grounding (Enabled by Default)</h3>\n<p>Google Search grounding is <strong>enabled by default</strong> when <code>GEMINI_API_KEY</code> is present. No extra configuration or search keys are required.</p>\n<ul>\n<li>\n<p>Test it directly via CLI:</p>\n<p>Bash</p>\n<pre><code class=\"language-bash\"><span class=\"code-snippet\" data-language=\"Shell\"><span class=\"syntax-source syntax-shell syntax-bash\"><span class=\"syntax-meta syntax-function-call syntax-shell\"><span class=\"syntax-variable syntax-function syntax-shell\">openclaw</span></span><span class=\"syntax-meta syntax-function-call syntax-arguments syntax-shell\"> capability web search<span class=\"syntax-variable syntax-parameter syntax-option syntax-shell\"><span class=\"syntax-punctuation syntax-definition syntax-parameter syntax-shell\"> --</span>query</span> <span class=\"syntax-string syntax-quoted syntax-double syntax-shell\"><span class=\"syntax-punctuation syntax-definition syntax-string syntax-begin syntax-shell\">&quot;</span>Latest gemini models<span class=\"syntax-punctuation syntax-definition syntax-string syntax-end syntax-shell\">&quot;</span></span></span>\n</span></span></code></pre>\n</li>\n<li>\n<p>In chat sessions, Gemini autonomously runs web searches with citations whenever fresh context is needed.</p>\n</li>\n</ul>\n<p><picture class=\"article-picture article-picture-fallback\" style=\"--image-ratio:16 / 9\"><img src=\"https://www.philschmid.de/static/blog/openclaw-v2-gemini/openclaw-websearch.png\" alt=\"Google Search Grounding in OpenClaw Control UI\" loading=\"lazy\" decoding=\"async\" fetchpriority=\"low\" referrerpolicy=\"no-referrer\" class=\"progressive-image\"></picture></p>\n<ul>\n<li>See: <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://docs.openclaw.ai/tools/gemini-search\">Google Search Grounding in OpenClaw</a></li>\n</ul>\n<h3>Leveraging Other Gemini Capabilities</h3>\n<ul>\n<li><strong><a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://docs.openclaw.ai/tools/image-generation\">Image Generation</a>:</strong> Set Google's image model using <code>openclaw models set-image google/gemini-3.1-flash-image</code>.</li>\n<li><strong><a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://docs.openclaw.ai/tools/video-generation\">Video Generation</a>:</strong> Generate 4–8s videos with <code>google/veo-3.1-fast-generate-preview</code>.</li>\n<li><strong><a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://docs.openclaw.ai/tools/music-generation\">Music Generation</a>:</strong> Prompt-driven music via <code>google/lyria-3-clip-preview</code>.</li>\n<li><strong><a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://docs.openclaw.ai/providers/google#text-to-speech\">Text-to-Speech</a>:</strong> Gemini batch TTS with natural language style prompting (<code>gemini-3.1-flash-tts-preview</code>).</li>\n<li><strong><a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://docs.openclaw.ai/providers/google#realtime-voice\">Realtime Voice</a>:</strong> Low-latency bidirectional voice streams via Gemini Live API (<code>gemini-3.1-flash-live-preview</code>).</li>\n</ul>\n<p>Full <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://docs.openclaw.ai/providers/google\">Google Documentation</a>.</p>\n<h3>Connecting Chat Channels</h3>\n<p>Connect your Gemini assistant to your favorite messaging apps using simple CLI commands:</p>\n<ul>\n<li><strong>Browse all channels:</strong> <code>openclaw channels list --all</code></li>\n<li><strong>Interactive setup:</strong> <code>openclaw channels add</code></li>\n<li><strong>Telegram:</strong> <code>openclaw channels add --channel telegram --token &quot;&lt;BOT_TOKEN&gt;&quot;</code></li>\n<li><strong>WhatsApp (QR code):</strong> <code>openclaw channels login --channel whatsapp</code></li>\n<li><strong>Discord:</strong> <code>openclaw channels add --channel discord --token &quot;&lt;BOT_TOKEN&gt;&quot;</code></li>\n<li><strong>Verify channel status:</strong> <code>openclaw channels status --probe</code></li>\n</ul>\n<p>Full <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://docs.openclaw.ai/channels\">Chat Channels Documentation</a>.</p>\n",
  "content_markdown": "Five commands, zero fluff: install OpenClaw 2.0 (`v2026.8.1`), link [Gemini 3.8 Flash](https://blog.google/innovation-and-ai/models-and-research/gemini-models/introducing-gemini-3-7-flash/), our fastest (up to [+300 token/sec](https://artificialanalysis.ai/#speed)) agentic model for coding and agents, and start chatting with live Google search grounding in under a minute.\n\n## What is OpenClaw 2.0?\n\n[OpenClaw](https://openclaw.ai) is a personal AI assistant that actually does things. It runs on your devices, in your chats, with your rules.\n\n- **Chat from anywhere:** Chat from the browser Control UI, Telegram, Discord, WhatsApp, or Slack.\n- **Integrated tooling:** Browser automation, terminal execution, filesystem access, and web search grounding.\n- **Remember:** Keeps memory across sessions so it knows your preferences, projects, and people.\n\n[OpenClaw 2.0](https://openclaw.ai/blog/openclaw-2-accidentally) (`v2026.8.1`) is the largest update yet: simpler install, a rebuilt browser app that opens straight into a conversation, and setup you can finish by talking to your Claw. Full notes: [v2026.8.1](https://docs.openclaw.ai/releases/2026.8.1).\n\n## Prerequisites\n\n- **Node.js:** `Node 26` (recommended) or `Node 22.22.3+` / `24.15+` (`node --version`).\n- **Gemini API Key:** Grab a free key from [Google AI Studio](https://aistudio.google.com/apikey).\n\n## 1\\. Install OpenClaw 2.0\n\nInstall OpenClaw globally via npm:\n\nBash\n\n```bash\nnpm install -g openclaw@2026.8.1\n```\n\nVerify your installation:\n\nBash\n\n```bash\nopenclaw --version\n# Output: OpenClaw 2026.8.1 (ea80657)\n```\n\n## 2\\. Configure Gemini Authentication\n\nExport your Gemini API key in your current shell:\n\nBash\n\n```bash\nexport GEMINI_API_KEY=\"your-gemini-api-key-here\"\n```\n\nTo persist it into OpenClaw's local profile store:\n\nBash\n\n```bash\nopenclaw onboard --non-interactive --accept-risk --skip-health \\\n  --mode local \\\n  --auth-choice gemini-api-key \\\n  --gemini-api-key \"$GEMINI_API_KEY\"\n```\n\n*(Note: You can safely ignore any onboarding tip about configuring a Brave API key—Gemini's built-in Google Search grounding is used automatically.)*\n\n## 3\\. Set Gemini 3.8 Flash as Default\n\nSet **Gemini 3.8 Flash** as the default agent model:\n\nBash\n\n```bash\nopenclaw models set google/gemini-3.8-flash\n```\n\n*(Note: If OpenClaw displays a warning that the model is not in the local catalog, it is safe to ignore. The model is dynamically resolved and validated against Google AI Studio in the next step.)*\n\nVerify model discovery and authentication status:\n\nBash\n\n```bash\nopenclaw models list --provider google\n```\n\n## 4\\. Test Inference via CLI\n\nRun a standalone agent turn in your terminal:\n\nBash\n\n```bash\nopenclaw agent --local --agent main --message \"Hello! What model are you running?\"\n```\n\nOutput:\n\n```text\nI am currently running on google/gemini-3.8-flash.\nWhat would you like to call me?\n```\n\n![OpenClaw CLI Setup](https://www.philschmid.de/static/blog/openclaw-v2-gemini/cli-setup.png)\n\n## 5\\. Start the Gateway & Launch Control UI\n\nSet the gateway to local mode and start it:\n\nBash\n\n```bash\nopenclaw config set gateway.mode local\nopenclaw gateway run\n```\n\n*(To run as a persistent background daemon instead: `openclaw gateway install && openclaw gateway start`. To stop it: `openclaw gateway stop --force`)*\n\nOpen the Control UI in your browser:\n\nBash\n\n```bash\nopenclaw dashboard\n```\n\nThe browser will open to `http://127.0.0.1:18789/` authenticated with your local session token:\n\n![OpenClaw Control UI with Gemini 3.8 Flash](https://www.philschmid.de/static/blog/openclaw-v2-gemini/openclaw-control-ui.png)\n\n## Next Steps\n\n### Google Search Grounding (Enabled by Default)\n\nGoogle Search grounding is **enabled by default** when `GEMINI_API_KEY` is present. No extra configuration or search keys are required.\n\n- Test it directly via CLI:\n\n  Bash\n\n  ```bash\n  openclaw capability web search --query \"Latest gemini models\"\n  ```\n\n- In chat sessions, Gemini autonomously runs web searches with citations whenever fresh context is needed.\n\n![Google Search Grounding in OpenClaw Control UI](https://www.philschmid.de/static/blog/openclaw-v2-gemini/openclaw-websearch.png)\n\n- See: [Google Search Grounding in OpenClaw](https://docs.openclaw.ai/tools/gemini-search)\n\n### Leveraging Other Gemini Capabilities\n\n- **[Image Generation](https://docs.openclaw.ai/tools/image-generation):** Set Google's image model using `openclaw models set-image google/gemini-3.1-flash-image`.\n- **[Video Generation](https://docs.openclaw.ai/tools/video-generation):** Generate 4–8s videos with `google/veo-3.1-fast-generate-preview`.\n- **[Music Generation](https://docs.openclaw.ai/tools/music-generation):** Prompt-driven music via `google/lyria-3-clip-preview`.\n- **[Text-to-Speech](https://docs.openclaw.ai/providers/google#text-to-speech):** Gemini batch TTS with natural language style prompting (`gemini-3.1-flash-tts-preview`).\n- **[Realtime Voice](https://docs.openclaw.ai/providers/google#realtime-voice):** Low-latency bidirectional voice streams via Gemini Live API (`gemini-3.1-flash-live-preview`).\n\nFull [Google Documentation](https://docs.openclaw.ai/providers/google).\n\n### Connecting Chat Channels\n\nConnect your Gemini assistant to your favorite messaging apps using simple CLI commands:\n\n- **Browse all channels:** `openclaw channels list --all`\n- **Interactive setup:** `openclaw channels add`\n- **Telegram:** `openclaw channels add --channel telegram --token \"<BOT_TOKEN>\"`\n- **WhatsApp (QR code):** `openclaw channels login --channel whatsapp`\n- **Discord:** `openclaw channels add --channel discord --token \"<BOT_TOKEN>\"`\n- **Verify channel status:** `openclaw channels status --probe`\n\nFull [Chat Channels Documentation](https://docs.openclaw.ai/channels).\n",
  "dateCreated": "2026-09-27T19:29:15.293681927+00:00",
  "date_created": "2026-08-31T00:00:00+00:00",
  "date_modified": "2026-08-31T00:00:00+00:00",
  "date_published": "2026-08-31T00:00:00+00:00",
  "description": "Five commands, zero fluff: install OpenClaw 2.0, connect Gemini 3.8 Flash, and start chatting with live Google Search grounding from your terminal and web dashboard in under a minute.",
  "external_url": "https://www.philschmid.de/openclaw-v2-gemini",
  "git": {
    "commit": "ebb0941c5c06a2ab2377342d607535262a3e969e",
    "path": "items/philschmid-de/2026/08/2026-08-31-setup-openclaw-2-0-with-gemini-in-under-60-seconds.md",
    "permalink": "https://github.com/aymericbeaumet/aggr-instance/blob/ebb0941c5c06a2ab2377342d607535262a3e969e/items/philschmid-de/2026/08/2026-08-31-setup-openclaw-2-0-with-gemini-in-under-60-seconds.md"
  },
  "id": "urn:aggr:item:0c3a3436a573d42e03574d8c01339ee60b78f2c5",
  "isBasedOn": {
    "@id": "https://www.philschmid.de/openclaw-v2-gemini"
  },
  "mainEntity": {
    "@id": "https://www.philschmid.de/openclaw-v2-gemini",
    "@type": "CreativeWork",
    "archivedAt": {
      "@id": "https://aggr.aymericbeaumet.com/items/philschmid-de/2026-08-31-setup-openclaw-2-0-with-gemini-in-under-60-seconds/#webpage"
    },
    "dateModified": "2026-08-31T00:00:00+00:00",
    "datePublished": "2026-08-31T00:00:00+00:00",
    "headline": "Setup OpenClaw 2.0 with Gemini in Under 60 Seconds",
    "timeRequired": "PT3M",
    "url": "https://www.philschmid.de/openclaw-v2-gemini",
    "wordCount": 641
  },
  "name": "Archived snapshot: Setup OpenClaw 2.0 with Gemini in Under 60 Seconds",
  "preview": null,
  "reading_minutes": 3,
  "replicated_at": null,
  "source": "philschmid-de",
  "source_name": "philschmid.de - RSS feed",
  "summary": "Five commands, zero fluff: install OpenClaw 2.0, connect Gemini 3.8 Flash, and start chatting with live Google Search grounding from your terminal and web dashboard in under a minute.",
  "tags": [],
  "temporalCoverage": "2026-09-27T19:29:15.293681927+00:00",
  "title": "Setup OpenClaw 2.0 with Gemini in Under 60 Seconds",
  "url": "https://aggr.aymericbeaumet.com/items/philschmid-de/2026-08-31-setup-openclaw-2-0-with-gemini-in-under-60-seconds/",
  "word_count": 641
}