API Key Setup

How to obtain and configure your AI provider API keys for AI Content Studio.

Supported AI Providers

AI Content Studio supports five AI providers. You can configure one or more and switch between them at any time:

  • OpenAI
  • Anthropic (Claude)
  • Google Gemini
  • Z.AI (GLM)
  • DeepSeek

You only need to configure the providers you want to use. Model lineups are kept up to date inside the module, so you always have current options to choose from.

Getting Your API Keys

OpenAI

  1. Visit platform.openai.com
  2. Sign up or log in
  3. Navigate to API Keys in the left sidebar
  4. Click Create new secret key
  5. Copy the generated key immediately

Anthropic (Claude)

  1. Visit console.anthropic.com
  2. Create an account and log in
  3. Go to API Keys
  4. Click Create Key
  5. Copy your key

Google Gemini

  1. Visit aistudio.google.com
  2. Sign in with your Google account
  3. Click Get API Key
  4. Create a key for a new or existing project
  5. Copy the key

Z.AI (GLM)

  1. Visit the Z.AI platform
  2. Create an account
  3. Navigate to API management
  4. Generate an API key

DeepSeek

  1. Visit platform.deepseek.com
  2. Create an account
  3. Go to API Keys section
  4. Create and copy your key

Configuring Keys in AI Content Studio

  1. Open your PrestaShop back office
  2. Go to AI Content Studio > Settings
  3. Select your Default AI Provider
  4. Enter the API key for each provider you want to use
  5. Select the default model for each provider
  6. Click Save

Tip: You can configure multiple providers and switch between them inside the generation wizard without going back to settings.

API Key Best Practices

  • Use dedicated keys: Create separate API keys just for AI Content Studio
  • Set usage limits: In each provider's dashboard, set monthly spending limits
  • Monitor usage: Check the AI Content Studio Dashboard for token consumption
  • Rotate keys: If you suspect a key was compromised, create a new one

Understanding Costs

Each provider has its own pricing and bills you directly for usage. Costs depend on the provider and the model tier you choose.

Tip: Start with cost-effective models for bulk operations and reserve flagship models for premium product pages. You can compare current pricing on each provider's website.