Getting Started
This page walks you through installing, activating, and opening PulseChat for the first time.
1. Requirementsโ
- Perfex CRM >=
3.0.0 - PHP version compatible with your Perfex installation (PulseChat itself does not require special extensions beyond what Perfex already uses)
2. Installationโ
-
Upload the module
- Copy the
pulsechatmodule folder into your Perfex installation under:modules/pulsechat
- Ensure all subfolders are present:
controllers,models,views,assets,migrations,language,libraries,core,third_party,vendor, etc.
- Copy the
-
Verify file permissions
- The webserver/PHP user must be able to read the module files.
- The upload directory must be writable:
modules/pulsechat/uploads/
-
Log in as admin
- Log into your Perfex CRM as a staff member with admin privileges.
3. First-time Setup Wizardโ
On first use as an admin:
-
Go to PulseChat from the left sidebar:
- You'll see a chat icon (
fa-comments) added by the module. - Click it to open the full PulseChat page (
admin/pulsechat/chat).
- You'll see a chat icon (
-
If initial setup isn't completed, you'll see a wizard:
- This guides you through selecting the transport mode:
- Pusher WebSockets --- instant real-time messaging (requires Pusher credentials).
- Built-in Polling --- no external service, messages refresh every ~3 seconds.
- For Pusher, you'll be asked for:
- App ID, Key, Secret, Cluster
- This guides you through selecting the transport mode:
-
After saving, the wizard marks setup as complete and redirects you into the main chat UI.
You can always change transport later from PulseChat Settings, so the wizard is just a convenience for first-time installs.
4. Where to Find PulseChat in Perfexโ
-
Admin area
- Left sidebar: a "Chat" entry (PulseChat) under the main navigation.
- Opens the full three-panel chat UI (
chat_view.php).
-
Client area (optional)
- If client chat is enabled in settings, a floating chat widget appears in the client portal, allowing staff-to-client conversations.
-
Modules page
- Setup -> Modules -> PulseChat
- Links:
- Settings --- opens
admin/pulsechat/settings(full PulseChat configuration). - Open Chat --- shortcut to
admin/pulsechat/chat.
- Settings --- opens
- Links:
- Setup -> Modules -> PulseChat
5. Basic Data Model (High-Level)โ
PulseChat stores its data in dedicated tables (all prefixed via db_prefix()):
pc_conversations--- all conversations (staff DM, groups, clients, omnichannel)pc_participants--- participants in each conversationpc_messages--- individual messages (inbound/outbound, media, system messages)pc_channels--- omnichannel connections (WhatsApp, Telegram, Email, etc.)pc_external_contacts,pc_contact_identities--- external contact mapping for channelspc_ai_logs--- AI usage and cost trackingpc_analytics_cache,pc_assignments_log--- analytics and assignment history
You don't need to manually manage these tables --- Perfex migrations handle creation and updates --- but understanding them helps when troubleshooting or building integrations.
6. Next Stepsโ
Once PulseChat is installed and activated:
- Configure it from Admin Configuration:
- Transport, permissions, limits, omnichannel, AI providers, etc.
- Learn how staff use it day-to-day in Using PulseChat (Staff).
- If you plan to connect WhatsApp, Telegram, Email, or others, see Omnichannel & Channels.