- Visit https://thaura.ai/plans
- Click
View Plans -> Get StartedunderProplan - Enter email
- Check email and enter verification code
- Enter billing details
- Open sidebar at top left, click your name at the bottom left
- Click
API -> API Keys -> Create New API Key - Save API key string
- NPM - Install using NVM (Recommended)
npm install -g @anthropic-ai/claude-codeRun the following command to prompt for your Thaura API Key and create the settings file:
read -s -p "Enter your Thaura API Key: " API_KEY && \
mkdir -p ~/.claude && \
cat > ~/.claude/settings.json <<EOF
{
"apiKeyHelper": "echo ${API_KEY}",
"env": {
"ANTHROPIC_BASE_URL": "https://backend.thaura.ai",
"ANTHROPIC_API_KEY": "${API_KEY}"
}
}
EOF
chmod 600 ~/.claude/settings.json && \
echo -e "\n✓ Settings file created at ~/.claude/settings.json with secure permissions (600)"This command will:
- Prompt you to enter your Thaura API Key (input will be hidden for security)
- Create the
~/.claudedirectory if it doesn't exist - Create
~/.claude/settings.jsonwith the correct configuration, replacing${API_KEY}with your actual Thaura API key - Set secure permissions (600) on the settings file, restricting access to owner only
-
Navigate to the repo you want to use Claude Code in
-
In your terminal, run:
claudeWhen Claude Code starts, you should see
thauranext toAPI Usage Billingin the header:▐▛███▜▌ Claude Code v2.0.46 ▝▜█████▛▘ thaura · API Usage Billing ▘▘ ▝▝ /Users/james_holden/test_repo ──────────────────────────────────────────────────────────────────────── > Try "how does test_repo/test_models.py work?" ──────────────────────────────────────────────────────────────────────── ? for shortcuts Thinking off (tab to toggle)This confirms that Claude Code is successfully using the Thaura backend instead of the default Anthropic API.
Thaura is an AI platform that combines technical excellence with ethical principles,
designed to support Palestinian liberation and mission-aligned technology development.
Ethical Principles:
- Mission-Aligned Technology: Supports projects and organizations working towards Palestinian liberation
- Transparent Operations: Clear documentation and open communication about platform capabilities
- Ethical AI Development: Committed to responsible AI practices that prioritize fairness and accountability
- Community-Driven: Built in collaboration with the Tech for Palestine community
For API documentation, see thaura.ai/api-platform
Tech for Palestine (T4P) is a coalition of founders, engineers, product marketers, investors, and other professionals working in support of Palestinian liberation.
What is Tech for Palestine?
Tech for Palestine is first and foremost an incubator for advocacy projects. They rally volunteers from across the tech world — founders, engineers, marketers, investors, and more — all committed to Palestinian liberation.
The T4P Incubator helps pro-Palestine advocates build, grow, and scale their work towards a Free Palestine. They support projects — whether collections of individuals, registered non-profits, or even companies — whose mission helps Palestine, especially advocacy groups building technical products or in the tech space.
The Incubator is free and provides:
- 👥 Volunteers - Access to skilled professionals
- 📢 Marketing Support - Help spreading your message
- 🎓 Mentorship - Guidance from experienced professionals
- 🔗 Connections - Links to the broader Palestinian advocacy ecosystem
Get Involved:
- Volunteer your skills
- Join their Discord
- Start a project of your own
- Be a mentor
- Hire Palestinians
Learn more at techforpalestine.org

Hey @commoddity, thanks for writing this up! I think these instructions might be a little bit out of date now. I followed these setup instructions but wasn't able to get it working on my end. I'm on Windows 10 running Claude Code v2.1.76 using the npm installation.
Here's the
settings.jsonI ended up at before I gave up trying to get it working:My observations from trying to get it working:
The main issue is that, once I get into claude, it's not able to run anything. I try running
/initand I get the message "There's an issue with the selected model (thaura). It may not exist or you may not have access to it. Run /model to pick a different model."When I first set up Claude, it is able to see that I have an API key available
I had to add the model "thaura" explicitly. Otherwise, it only showed the default Claude models
If you have both ANTHROPIC_API_KEY and apiKeyHelper set, there is a message about an auth conflict:
⚠Auth conflict: Both a token (apiKeyHelper) and an API key (ANTHROPIC_API_KEY) are set. This may lead to unexpected behavior.
• Trying to use apiKeyHelper? Unset the ANTHROPIC_API_KEY environment variable, or claude /logout then say "No" to the API key approval before login.
• Trying to use ANTHROPIC_API_KEY? Unset the apiKeyHelper environment variable.
If you have only ANTHROPIC_API_KEY set, it will prompt you to log into (1) a claude account, (2) an Anthropic console account, or (3) a 3rd-party platform, but with the only options being Amazon Bedrock, Microsoft Foundry, or Vertex AI
If you have only apiKeyHelper set, neither of the above issues show
If you or anyone else has any ideas on how to get this working, let me know!