Skip to main content

API Keys

Configure your AI provider API keys to use Dialogix with your own accounts.

Why API Keys?

Dialogix connects directly to AI providers using your API keys. This means:

  • Privacy — Your data goes directly to the AI provider, not through our servers
  • No subscription — Pay only for what you use with provider pricing
  • Full control — Use your own rate limits and quotas
  • Model access — Access all models available to your account

Setting Up API Keys

Access the Options Page

  1. Right-click the Dialogix icon in your browser toolbar
  2. Select Options (or Extension options)
  3. Navigate to the API Keys section

OpenAI (ChatGPT)

  1. Go to platform.openai.com/api-keys
  2. Sign in or create an account
  3. Click Create new secret key
  4. Give it a name (e.g., "Dialogix")
  5. Copy the key (starts with sk-)
  6. Paste into Dialogix Options → OpenAI API Key
caution

OpenAI keys are only shown once. Save it securely before closing the dialog.

Google Gemini

  1. Go to aistudio.google.com/apikey
  2. Sign in with your Google account
  3. Click Create API Key
  4. Select a project or create a new one
  5. Copy the generated key
  6. Paste into Dialogix Options → Gemini API Key

Free tier: Google offers generous free usage for Gemini models.

DeepSeek

  1. Go to platform.deepseek.com
  2. Create an account
  3. Navigate to API Keys section
  4. Generate a new key
  5. Paste into Dialogix Options → DeepSeek API Key

Cost-effective: DeepSeek offers very competitive pricing.

xAI (Grok)

  1. Go to console.x.ai
  2. Sign in with your X (Twitter) account
  3. Navigate to API section
  4. Generate an API key
  5. Paste into Dialogix Options → Grok API Key

API Key Security

Your API keys are stored securely:

  • 🔒 Local storage only — Keys never leave your browser
  • 🔒 Direct API calls — Requests go directly to providers
  • 🔒 No server storage — We never see or store your keys

Best Practices

  1. Use separate keys for different applications
  2. Set spending limits in your provider dashboard
  3. Rotate keys periodically
  4. Don't share keys in screenshots or code

Verifying Your Setup

After adding a key:

  1. Select some text on any webpage
  2. Choose an action (e.g., "Improve Writing")
  3. If configured correctly, you'll see the AI response
  4. If there's an error, check the error message for details

Common Issues

"Invalid API Key"

  • Double-check for extra spaces when pasting
  • Ensure the key is from the correct provider
  • Verify the key hasn't been revoked or expired

"Quota Exceeded"

  • Check your usage in the provider's dashboard
  • Add billing information if using a paid tier
  • Wait for quota reset (usually monthly)

"Model Not Available"

  • Some models require specific account tiers
  • Ensure your API key has access to the selected model
  • Try a different model from the same provider

Multiple Providers

You can configure keys for multiple providers and switch between them:

  • Set a default model in Options
  • Use different models for different actions
  • Fallback to another provider if one fails

We recommend configuring at least 2 providers for redundancy.