Skip to main content

Configuration

All settings are found in Admin Panel → Extensions → Others → AI Support.


AI Provider

Select which AI service the extension should use.

OptionDescription
OpenAI (ChatGPT)Uses the official OpenAI API (api.openai.com)
Anthropic (Claude)Uses the official Anthropic API (api.anthropic.com)
Mistral AIUses the official Mistral API (api.mistral.ai)
Custom (OpenAI-compatible)Any endpoint that speaks the OpenAI chat completions format

API Key

Your personal API key for the selected provider. It is stored encrypted in the database.

You must obtain this key directly from your AI provider's dashboard:

warning

This extension does not include any API credits. All token usage is billed to your own account with the provider.


Model

The exact model name to use. Some examples:

ProviderModel name
OpenAIgpt-4o, gpt-4o-mini, gpt-4-turbo
Anthropicclaude-sonnet-4-6, claude-opus-4-7, claude-haiku-4-5-20251001
Mistralmistral-large-latest, mistral-small-latest
CustomDepends on your endpoint

See Providers & Models for a full list.


Custom API Base URL

Only required when AI Provider is set to Custom.

Enter the base URL of your OpenAI-compatible endpoint, without a trailing slash. Example:

https://api.opencode.ai/v1

Bot User ID

The numeric Paymenter user ID the AI will reply as.

This must be the ID of the dedicated staff user you created during Installation.

You can find the ID by opening the user in the admin panel — it appears in the URL:

/admin/users/42/edit  →  ID is 42
danger

If this ID is wrong or belongs to a real staff member, the extension may reply as that person or create a loop. Double-check this value.


System Prompt

Instructions that are sent to the AI on every ticket. Use this to:

  • Tell the AI your company name and what you do
  • Set the tone (formal, friendly, etc.)
  • Define what it should and should not do

Example:

You are a friendly support agent for ExampleHost.
You help customers with questions about their VPS and web hosting services.
Always be polite and concise.
Do not make any promises about refunds, custom deals, or uptime guarantees.
If you are unsure about something, escalate rather than guessing.

The escalation instruction ([[ESCALATE]]) is appended automatically — you do not need to add it yourself.


Hosting / Company Information

Additional context for the AI. Paste in anything that helps it answer tickets accurately:

  • Server specs and available plans
  • Control panel information (cPanel, Pterodactyl, etc.)
  • Your support policies (response time, refund policy, etc.)
  • Frequently asked questions with their answers

Leave empty if your system prompt is already detailed enough.


Allowed Departments

A multi-select list of ticket departments the AI is allowed to handle.

  • Leave empty → the AI handles tickets from all departments
  • Select specific departments → the AI only replies to tickets in those departments and stays silent for the rest

Useful for excluding sensitive departments like Billing or Legal where human review is required.

Departments are managed in Admin Panel → Settings → Tickets.


Discord Webhook URL

Optional. When the AI cannot answer a ticket (API error or explicit escalation), a notification is sent to this Discord webhook so a human agent can follow up.

To create a webhook:

  1. Open your Discord server settings
  2. Go to Integrations → Webhooks → New Webhook
  3. Select the channel and copy the webhook URL

Leave empty to disable Discord notifications.