Before you begin...
- Signup for a free trial
First select a plan from the CometChat Free Trial page, enter your email address and start your free trial.
Note your License Key and Auth Key
Sign in to your CometChat Client Area and click on the Manage button and then note down the keys present in API Keys (top right button) section- Auth Key and License Key.
Add CometChat Plugin
- Download the CometChat WordPress Plugin Zip File
- Login to your WordPress Admin Panel and go to Plugins > Add new.
- Click on the
Upload Pluginto display the WordPress Plugin upload field.
- Select the CometChat Plugin zip file and click on install now.
- Once the plugin is successfully installed, click on Activate Plugin.
Once the plugin is activated, follow the below steps to install it on your website.
- Click on the
CometChattab on the left-hand side navigation menu.
- Enter your
License Keyand then your
Auth Keyand click on the Install button to
CometChat provides two layouts to cater to your unique requirements. Our Docked Layout creates a floating chat widget at the bottom right/left corner of your website. Our Embedded Layout creates a chat widget in any page of your website.
a. Docked Layout
As soon as you install the plugin, our Docked Layout is auto-activated for your convenience.
If you would like to manually add our Docked Layout to a particular page (using the WordPress content editor), then you can use the following shortcode:
b. Embedded Layout
The Embedded Layout allows you to add CometChat to any part of your site page. To proceed, add the following shortcode to any page of your site (using the WordPress content editor).
[cometchat layout='embedded' width='990' height='600']
Before you go live, paste your API Key in the CometChat Plugin (in WordPress).
Sign in to your CometChat Client Area and click on the Manage button. Then navigate to Settings -> Authentication -> Security and enable Enable Auth Key Verification? and Enable Data Signature Validation?.
That's all folks!
Now you're ready to start using CometChat!