AGENTROUTER SETUP
Step 1: Create your AgentRouter account
Sign up here using Github para makuha free credits:You do not have permission to view the full content of this post. Log in or register now.
After signing in, go to:
Console → API Token → Create Token
Copy the token and keep it private.
Step 2: Install Claude Code
Open PowerShell and paste this command:
irm You do not have permission to view the full content of this post. Log in or register now. | iex
After the installation finishes, check if it worked:
claude --version
If a version number appears, Claude Code is installed.
Step 3: Add your AgentRouter token
Run these commands in PowerShell:
New-Item -ItemType Directory -Force "$env:USERPROFILE\.claude"
notepad "$env:USERPROFILE\.claude\settings.json"
Paste this into Notepad inside your settings.json :
{
"env": {
"ANTHROPIC_AUTH_TOKEN": "PASTE_YOUR_TOKEN_HERE",
"ANTHROPIC_BASE_URL": "You do not have permission to view the full content of this post. Log in or register now.",
"ANTHROPIC_MODEL": "claude-opus-4-8"
}
}
Replace:
PASTE_YOUR_TOKEN_HERE
with the token you copied from AgentRouter.
Save the file and close Notepad.
Step 4: Open Claude Code in your project
Open PowerShell or Command Prompt, then go to your project folder.
Example:
cd /d E:\YourProject
claude
Replace
E:\YourProject with the actual location of your project.Do not use:
/login
Your AgentRouter token already handles the connection.
Step 5: Check if everything is working
Inside Claude Code, type:
/status
You should see something similar to:
Auth token: ANTHROPIC_AUTH_TOKEN
Anthropic base URL: You do not have permission to view the full content of this post. Log in or register now.
Model: claude-opus-4-8
You can now start asking Claude Code to read, edit, or work on your project.
Common errors
401 means the token is invalid or revoked.
402 means your AgentRouter usage limit has been reached.
Only use
ANTHROPIC_AUTH_TOKEN. Do not add ANTHROPIC_API_KEY at the same time.PA FEEDBACK NALANG PO AKO MGA MASTER THANKS!




.webp)

