Skip to content
Logo

AI Settings

AI Settings allow you to integrate artificial intelligence capabilities into your Webifly AI application. You can choose from various AI providers to power intelligent features across your websites.

AI Settings


Accessing AI Settings

Navigate to Settings → AI Settings from the admin panel sidebar to configure your AI provider.


Selecting an AI Provider

Webifly AI supports multiple AI providers, allowing you to choose the best option for your needs:

OpenAI

  • Industry-leading AI models including GPT-5.2 and GPT-4.1
  • Best for: High-quality text generation, conversation, and content creation
  • Requires: API key from OpenAI Platform
  • Popular models: GPT-5.2, GPT-5 Mini, GPT-5.2 Pro, GPT-4.1, GPT-5 Nano

Claude (Anthropic)

  • Advanced AI assistant with strong reasoning capabilities
  • Best for: Long-form content, detailed analysis, and safe AI interactions
  • Requires: API key from Anthropic Console
  • Popular models: Claude Opus 4.5, Claude Sonnet 4.5, Claude Haiku 4.5, Claude 3.5 Sonnet, Claude 3.5 Haiku

Perplexity

  • AI search and answer engine with real-time information
  • Best for: Research, fact-checking, and up-to-date information
  • Requires: API key from Perplexity AI
  • Popular models: Sonar Pro, Sonar, Sonar Reasoning Pro, Sonar Reasoning

Configuring Your AI Provider

Step 1: Select Provider

  1. Go to Settings → AI Settings
  2. From the Provider dropdown, select your preferred AI provider
  3. Choose "None" to disable AI features

Step 2: Enter Configuration Details

For all AI providers, you'll need to configure the following:

API Key (Required)

  • Your authentication key from the provider
  • Keep this secure and never share it
  • Get your API key from the provider's platform

Model (Required)

  • Select from the dropdown list of available models
  • Each model has different capabilities and pricing
  • Default models:
    • OpenAI: gpt-5.2 (Latest, Best for Coding & Agents)
    • Claude: claude-sonnet-4-5-20250929 (Recommended)
    • Perplexity: sonar-pro (Best Quality)

Max Tokens (Optional)

  • Maximum number of tokens for AI responses
  • Range: 100 - 8000 tokens
  • Default: 2000 tokens
  • Higher values allow longer responses but cost more

Setup Instructions by Provider

Click View Instructions link in the configuration panel to see detailed setup guides for each provider.

OpenAI Setup

Step 1: Create OpenAI Account

Step 2: Generate API Key

  1. Navigate to API Keys section
  2. Click "Create new secret key"
  3. Copy and save the key (you won't see it again)
  4. Paste the key into Webifly AI, AI Settings

Claude Setup

Step 1: Create Anthropic Account

Step 2: Generate API Key

  1. Go to API Keys section
  2. Click "Create Key"
  3. Copy the generated key
  4. Paste into Webifly AI, AI Settings

Perplexity Setup

Step 1: Access Perplexity API

Step 2: Get API Key

  1. Navigate to API settings
  2. Generate a new API key
  3. Copy the key
  4. Enter in Webifly AI, AI Settings

Testing Your Connection

After configuring your AI provider, it's important to verify the connection works correctly.

Test Connection Button:

  1. Fill in all required configuration fields
  2. Click the Test Connection button
  3. Wait for the test to complete
  4. You'll see a success or error message

Success: Your AI provider is configured correctly and ready to use

Failure: Check the error message and verify:

  • API key is correct and active
  • Model name is valid
  • You have sufficient credits/quota with the provider
  • Network connectivity is working

Saving Your Configuration

  1. After entering all required information
  2. Click the Update button at the top or bottom of the form
  3. You'll see a success message when settings are saved
  4. Your AI configuration is now active

Important

Settings are saved per provider. You can switch between providers without losing your configuration for each one. When you select a provider, its previously saved settings will load automatically.


Available Models by Provider

OpenAI Models

ModelDescriptionBest For
gpt-5.2Latest, Best for Coding & AgentsMost capable, coding tasks
gpt-5-miniFast, Cost-EffectiveQuick responses at lower cost
gpt-5.2-proPrecise ResponsesAccuracy-critical tasks
gpt-4.1Smart Non-ReasoningGeneral purpose tasks
gpt-5-nanoFastest, BudgetSimple tasks, lowest cost

Claude Models

ModelDescriptionBest For
claude-opus-4-5-20251101Most CapableComplex reasoning and analysis
claude-sonnet-4-5-20250929RecommendedBalanced performance
claude-haiku-4-5-20251001FastestQuick, simple tasks
claude-3-5-sonnet-20241022Claude 3.5 SonnetPrevious generation
claude-3-5-haiku-20241022Claude 3.5 HaikuPrevious generation, fast

Perplexity Models

ModelDescriptionBest For
sonar-proBest QualityHigh-quality research
sonarBalancedGeneral search and answers
sonar-reasoning-proComplex TasksAdvanced reasoning
sonar-reasoningAnalysisAnalytical tasks

Security Best Practices

Security Note

  • Never share your API keys with anyone
  • Keep API keys secure - they provide access to your AI provider account
  • Monitor usage regularly to detect unauthorized access
  • Rotate keys periodically for better security
  • Use environment variables in production rather than storing keys in database
  • Set spending limits on provider dashboards to avoid unexpected charges

Managing Multiple Providers

Webifly AI allows you to configure multiple AI providers:

  1. Configure each provider's settings separately
  2. Switch between providers using the dropdown
  3. Each provider retains its own configuration
  4. Only one provider can be active at a time
  5. Select "None" to disable all AI features

Switching Providers:

  1. Go to AI Settings
  2. Select a different provider from dropdown
  3. Click Update to activate
  4. Previous provider's settings are preserved

Troubleshooting

API Key Issues

Problem: "Invalid API key" error

Solutions:

  • Verify the API key is copied correctly (no extra spaces)
  • Check if the key is active on provider's dashboard
  • Ensure you have credits/quota remaining
  • Generate a new key if necessary

Connection Failed

Problem: Cannot connect to AI provider

Solutions:

  • Check internet connectivity
  • Ensure firewall isn't blocking API requests
  • Verify your server has outbound internet access

Model Not Found

Problem: Selected model is not available

Solutions:

  • Check provider's documentation for correct model names
  • Ensure model is available in your provider plan
  • Verify you have access to the selected model
  • Try a different model from the list

Max Tokens Error

Problem: Response is cut off or incomplete

Solutions:

  • Increase the Max Tokens setting
  • Keep in mind higher tokens = higher costs
  • Recommended range: 1000-4000 for most use cases

Cost Management

Understanding Costs

All AI Providers (OpenAI, Claude, Perplexity):

  • Charged per token (input + output)
  • Pricing varies by model
  • More capable models cost more
  • Monitor usage on provider dashboards

Tips to Reduce Costs:

  1. Use smaller models when possible
  2. Set appropriate max tokens limits
  3. Cache responses where applicable
  4. Monitor usage regularly
  5. Set spending limits on provider platforms

Use Cases

Once configured, AI features can be used for:

  • Content Generation: Create website copy, blog posts, descriptions
  • Content Improvement: Enhance existing text, fix grammar, optimize SEO
  • Translation: Translate content across languages

TIP

The specific AI features available depend on your Webifly AI plan and configuration. Configure your preferred AI provider to unlock intelligent capabilities across your websites.