Configure LLM

šŸ”‘ Setting Up Your AI Provider

API Keys

Think of API keys as your "membership cards" to use powerful AI services like OpenAI, Google, or Anthropic. These companies provide the intelligent "brains" that power your chatbot, but you need to have your own account and API key to access their services.

Why do you need your own API key?

  • It ensures you have direct access to the latest AI models

  • You only pay for what you use & have complete control over your AI usage

šŸŽÆ 2 Step Setup Guide

Step 1: Choose Your AI Provider

AI BotKit supports three leading AI providers. You only need to set up ONE of them:

  1. OpenAI ( API setup)

  2. Claude by Anthropic ( API Setup )

  3. Gemini by Google ( API Setup )

šŸ’” Recommendation for beginners: Start with OpenAI as it's the most popular and well-documented.

Step 2 : Configuring AI Provider in AI BotKit

To set up your preferred AI engine:

  1. Go to your WordPress Admin Panel

  2. Navigate to AI BotKit > Settings

  3. Select your AI engine from the "AI Engine" dropdown:

    • OpenAI (recommended for beginners)

    • Anthropic (Claude)

    • Google AI

  4. Enter the required API key:

    • OpenAI: Paste your OpenAI API Key

      • Optional: Enter your Organization ID if applicable

    • Anthropic (Claude):

      • Enter your Anthropic API Key

      • āž• Important: Also enter your VoyageAI API Key (used for text embeddings)

    • Google AI: Enter your Google API Key

  5. Click "Verify" to test the connection.

  6. After successful verification, select your desired Chat Model and Embedding Model. ( Learn more about Embedding Models here )


AI Parameters

AI Parameters are configurable settings that control how documents are processed and how often the LLM can be accessed.

To change the default values, check out the Advanced Settings


🚨 Troubleshooting Common Issues

"Invalid API Key" Error

  • āœ… Double-check you copied the key correctly (no extra spaces)

  • āœ… Make sure the key hasn't expired

  • āœ… Verify you have credits/billing set up

"Rate Limit" Error

  • āœ… You're making too many requests - wait a few minutes

  • āœ… Check your provider's usage limits

  • āœ… Consider upgrading your account tier

"Insufficient Credits" Error

  • āœ… Add more credits to your AI provider account

  • āœ… Check your spending limits

Connection Timeout

  • āœ… Check your internet connection

  • āœ… Try again in a few minutes

  • āœ… Contact your hosting provider if issues persist


šŸ” Security Best Practices

Protecting Your API Keys:

āœ… Never share your API keys with anyone āœ… Set spending limits to avoid unexpected charges āœ… Regenerate keys if you suspect they've been compromised āœ… Use different keys for different projects āœ… Monitor usage regularly in your provider dashboard

In AI BotKit:

  • Your API keys are stored securely in WordPress

  • They're encrypted and never displayed in plain text

  • Only administrators can access them


šŸ†˜ Need Help?

If You Get Stuck:

  1. Verify your account setup:

    • Confirm email verification

    • Check billing/credits

    • Review spending limits


Congratulations! You've just connected your website to cutting-edge AI technology! šŸŽ‰

šŸš€ What's Next?

Once your API keys are configured : Start Creating your own personalized Chatbot

Last updated