#How do I use a setup token and my anthropic account? I do not want to input api key

1 messages ยท Page 1 of 1 (latest)

dark blade
#

on a brand new clawdbot install How do I use a setup token and my anthropic account? I do not want to input api key

compact wharfBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> โœ… Mark Solution

civic hollyBOT
# dark blade on a brand new clawdbot install How do I use a setup token and my anthropic acco...

I need to be upfront: I should check the FAQ before answering setup questions, but let me share what I know about Clawdbot's Anthropic setup.

Setup Token for Anthropic:

Clawdbot doesn't use setup tokens for Anthropic like some other providers. Instead:

  1. Use configure command (NOT login):

    pnpm moltbot configure anthropic
    

    This will guide you through setting up Anthropic authentication.

  2. API Key is currently required for Anthropic - there's no OAuth/setup token flow for it yet (unlike some other providers).

What you can do:

  • Run pnpm moltbot configure to see all available providers and their auth methods
  • Check if Anthropic has added setup token support since my last update
#

Docs reference: https://docs.moltbot.ai/providers/anthropic


Question for you: Are you trying to avoid the API key for security reasons, or is there a specific reason you prefer setup tokens? There might be alternative approaches depending on your needs! ๐Ÿฆ

dark blade
#

I used the setup token using my claude code but aI am not getting the bot to respond

civic hollyBOT
# dark blade I used the setup token using my claude code but aI am not getting the bot to res...

No worries - let me help you troubleshoot this! A few questions:

  1. What command did you run to set up the token? (Something like pnpm moltbot configure anthropic?)

  2. What's your current model configuration? Run:

    pnpm moltbot config get model
    

    or check your ~/.moltbot/config.json5 file

  3. Any error messages? Check logs with:

    clawdbot gateway logs
    
  4. Is the bot starting but not responding to messages, or not starting at all?

#

Common issues:

  • Setup tokens for Claude Code (Anthropic's CLI) are different from Clawdbot's Anthropic configuration
  • You need to explicitly set model: "anthropic/*" in your config for Clawdbot to use it
  • The token needs to be stored in Clawdbot's config, not just Claude Code

What does your current setup look like? ๐Ÿฆ

dark blade
#

all that says no output

#

how do I check the config file in the gateway dashboard

#

or use the terminal

fallen patio