Use Claude with Chrome

Some prompts in this collection, notably Set up Google Analytics, rely on Claude’s ability to to operate a real web UI on your behalf. For these to work, Claude needs to be connected to Chrome.

Prerequisites

  • The Claude for Chrome extension installed in Google Chrome.

  • A paid Claude plan that includes Claude Code; the extension is currently gated to paid tiers.

  • Logged-in access in that same Chrome profile to whatever the prompt drives (in the GA4 case, your Google Analytics account).

Anthropic’s docs

Running the prompts

GUI

  1. Open Chrome with the Claude extension installed and signed in.

  2. Open the target site in a tab and confirm you’re logged in.

  3. Open the Claude side panel, paste the prompt, and let Claude take over:

    The Claude side panel pinned in Chrome, showing a user prompt and Claude's response about the page currently open in the browser

  4. Watch the first few actions; the extension asks for confirmation on sensitive steps, and you can stop it at any point.

CLI

Alternatively, you can run claude --chrome and paste the prompt in the terminal UI.