Provider Setup

How to get API keys for each provider and configure them for Decision Matrix.

OpenAI (The Strategist)

Get an API key

Go to platform.openai.com/api-keys and create a new secret key. You need a paid account with credits.

OPENAI_API_KEY=sk-...

Anthropic (The Analyst)

Get an API key

Go to console.anthropic.com/settings/keys and create a new key.

ANTHROPIC_API_KEY=sk-ant-...

xAI (The Challenger)

Get an API key

Go to console.x.ai and generate an API key.

XAI_API_KEY=xai-...

Google AI (The Architect)

Get an API key

Go to aistudio.google.com/app/apikey and create an API key.

GOOGLE_API_KEY=AIza...
Tip
You don't need all four providers. The engine works with any subset — just configure the ones you have access to. Missing providers are gracefully excluded from the panel.

Environment variables

The simplest setup is a .env file:

# .env
OPENAI_API_KEY=sk-...
ANTHROPIC_API_KEY=sk-ant-...
XAI_API_KEY=xai-...
GOOGLE_API_KEY=AIza...
Warning
Never commit API keys to version control. Add .env to your .gitignore.