WP Manifestindependent plugin directory
manifest / ai / ai-customer-support-plugin-for-wordpress

AI Customer Support

This plugin is build for Bidirectional websocket for Live chat between agent and client. Wordpress + Firebase Realtime Database.

★ 1stars
wordpresslatest · 1 year ago

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/mandeeps207/ai-customer-support-plugin-for-wordpress/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

AI Customer Support is a modern, AI-powered live chat plugin for WordPress. It features real-time chat, agent escalation, chat archiving, and secure integration with Firebase and Google Gemini AI.

Features

  • Live chat widget for website visitors
  • AI-powered responses using Google Gemini API
  • Human agent takeover/escalation
  • Agent profile photo and name in chat
  • Typing indicators for both agent and user
  • Chat archive with search and pagination
  • Admin dashboard for managing chats
  • Secure message storage in WordPress database
  • Firebase Realtime Database integration
  • Customizable via WordPress settings

Installation

  1. Clone or download this repository into your wp-content/plugins directory.
  2. Install Composer dependencies:
    composer install
  3. Create a Firebase project and download the service account JSON. Place it as firebase-service-account.json in the plugin root.
  4. Configure plugin settings in WordPress Admin > Settings > AI Customer Support:
    • Firebase API Key
    • Firebase Project ID
    • Google Gemini API Key
  5. Activate the plugin from the WordPress Plugins page.

Usage

  • The chat widget appears on every page for visitors.
  • Admins can manage chats and view archives from the WordPress dashboard.
  • AI and agent messages are stored in both Firebase and the WordPress database.

Firebase Security

  • The plugin uses Firebase custom tokens for admin authentication.
  • For best security, set your Firebase Realtime Database rules:
    {
      "rules": {
        "admin_status": {
          "online": {
            ".read": true,
            ".write": "auth != null && auth.token.admin === true"
          }
        },
        // ...other rules...
      }
    }
  • Only authenticated admins can change online status or access restricted data.

Customization

  • Edit CSS in public/css/aics-public.css and admin/css/aics-admin.css for UI changes.
  • Modify chat widget HTML in public/partials/chat-widget-inner.php.
  • Extend backend logic in includes/class-aics-core.php and includes/class-aics-db.php.

Troubleshooting

  • If you see errors about missing Firebase custom token, ensure firebase-service-account.json is present and correct.
  • Check your Firebase rules if unauthorized users can change admin status.
  • Use browser console for JS errors and WordPress debug log for PHP errors.

License

This plugin is provided as-is. See LICENSE file for details.


For support or feature requests, open an issue or contact the author.

Releases

1 release.

Tag
Published
wordpress latest
Aug 30, 2025 1 year ago

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.