Installation
Follow these steps to install AI Ticket Assistant in your WHMCS instance.
Requirements
- WHMCS 8.0 or higher
- PHP 7.4 or higher
- Google Gemini API key (free tier available)
- cURL extension enabled
- HTTPS/SSL enabled
Step 1: Download the Addon
Download the latest release from GitHub or the WHMCS Marketplace:
Step 2: Upload Files
Extract the downloaded ZIP file and upload the contents to your WHMCS modules directory:
bash
/path/to/whmcs/modules/addons/ai_ticket_assistant/After uploading, your directory structure should look like this:
bash
modules/addons/ai_ticket_assistant/
├── lib/
├── ai_ticket_assistant.php
└── hooks.phpStep 3: Activate the Addon
- Log in to your WHMCS admin area
- Navigate to System Settings → Addon Modules
- Find "AI Ticket Assistant" in the list
- Click Activate
- Configure access control as needed
- Click Save Changes
Step 4: Get a Gemini API Key
You'll need a Google Gemini API key to use the addon. The free tier is available and sufficient for most use cases.
- Visit Google AI Studio
- Sign in with your Google account
- Click "Create API Key"
- Copy the generated API key
Step 5: Configure the Addon
After activation, click Configure next to the addon to enter your Gemini API key and customize settings.
See the Configuration Guide for detailed information on all available settings.
Verification
To verify the installation is complete:
- Open any support ticket in the admin area
- Look for the AI buttons (🪄 and 🪄⚙️) above the reply textarea
- Click the 🪄 button to generate a quick AI reply

