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:
š” 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:
Go to your WordPress Admin Panel
Navigate to AI BotKit > Settings
Select your AI engine from the "AI Engine" dropdown:
OpenAI (recommended for beginners)
Anthropic (Claude)
Google AI
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
Click "Verify" to test the connection.
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:
Check the provider's documentation:
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