Set up the module
Configure O'Chat after installation: name your instance, register with the central server, and verify everything works.
Step 1: Configure your instance
- Go to Settings → scroll down to the O'Chat section
- Enter your Instance Name — a friendly name for your Odoo (e.g. "Acme Corp")
- Note your Instance UUID — this is automatically generated and uniquely identifies your instance
- Click Save
Instance UUID
The Instance UUID is your unique identifier. Share it with partners or clients so they can establish a connection to your instance.
Step 2: Register with the central server
O'Chat requires registration with our central server to enable communication between instances:
- In the O'Chat settings, click Register with Central Server
- The system will:
- Generate a RSA-4096 encryption keypair
- Send your public key to the central server
- Receive your API key and webhook secret
- You'll see a confirmation message when registration is complete
Registration successful
Your instance is now registered. You can see your registration status in the settings.
Step 3: Verify network requirements
For O'Chat to function properly, ensure:
- Outbound HTTPS: Your server must be able to reach the O'Chat central server
- Inbound webhooks: The central server must be able to reach your Odoo instance's
/ochat/webhookendpoint
If you're behind a firewall, you may need to whitelist the following:
- Central server URL (provided during setup)
- Your Odoo instance's public URL for webhook callbacks
Important for on-premise
Your Odoo instance must be publicly accessible (or accessible from the central server) for webhooks to work. If your instance is behind a NAT or VPN, you may need to configure port forwarding or a reverse proxy.
Troubleshooting
Registration fails
- Check your internet connection
- Verify the central server URL is correct
- Check your Odoo server logs for detailed error messages
Webhooks not received
- Ensure your Odoo instance is publicly accessible on HTTPS
- Check that
/ochat/webhookis not blocked by a firewall or reverse proxy - Verify your SSL certificate is valid