#Problems with setup

1 messages · Page 1 of 1 (latest)

jolly deltaBOT
#

The issue is that authorizing via the Claude Code CLI website doesn't automatically give Clawdbot access. You need to generate a setup-token from the CLI and configure it in Clawdbot.

Run this on your machine where you have the Claude Code CLI installed:

claude setup-token

Then configure it for Clawdbot:

clawdbot models auth setup-token --provider anthropic

Paste the token when prompted. This stores it in Clawdbot's auth store at ~/.clawdbot/agents/main/agent/auth-profiles.json.

The FAQ covers this: https://docs.clawd.bot/start/faq#how-does-anthropic-setup-token-auth-work

weak rock
#

It's giving a run erro failoverrror no api key found

#

???

jolly deltaBOT
# weak rock It's giving a run erro failoverrror no api key found

The issue is that authorizing on the Anthropic website ≠ CLI access. Here's exactly what you need to do:

Step 1: On your Mac, open a terminal and run:

claude setup-token

Step 2: Copy the token string it outputs (starts with sk-ant-...)

Step 3: Run this on the machine where Clawdbot is installed:

clawdbot models auth paste-token --provider anthropic

Then paste the token when prompted.


#

If clawdbot isn't in your PATH on the Clawdbot machine, you can also manually add it to ~/.clawdbot/agents/main/agent/auth-profiles.json:

{
  "anthropic": {
    "claude-cli": {
      "mode": "token",
      "token": "sk-ant-YOUR-TOKEN-HERE"
    }
  }
}

Then restart the gateway.

Does that work? 🦐

#

Let me simplify this:

You have TWO separate things:

  1. Claude Code CLI on your Mac (already set up)
  2. Clawdbot (needs its own auth config)

Just run these two commands:

  1. On your Mac (where Claude CLI is):

    claude setup-token
    

    Copy the output (it's a long string starting with sk-ant-)

  2. On the machine running Clawdbot:

#
   clawdbot models auth paste-token --provider anthropic

Paste the token when asked


Quick check: Is Clawdbot running on the same Mac, or on a different machine/server?

#

Okay, simpler:

Where is Clawdbot installed? On your Mac or on a server?

The error path shows /Users/connorfowler/.clawdbot/ — that means Clawdbot IS on your Mac.

Try this:

  1. Open terminal
  2. Run:
clawdbot models auth setup-token --provider anthropic

This runs claude setup-token FOR YOU and stores the result. Much simpler than copy-pasting manually.

Does that work?

weak rock
#

same error again and again