WordPress

Before you begin...

  1. Signup for a free trial
    First select a plan from the CometChat Free Trial page, enter your email address and start your free trial.

  2. Note your License Key, API 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, API Key and License Key.

Add CometChat Plugin

  1. Download the CometChat WordPress Plugin Zip File
  2. Login to your WordPress Admin Panel and go to Plugins > Add new.
  3. Click on the Upload Plugin to display the WordPress Plugin upload field.
  4. Select the CometChat Plugin zip file and click on install now.
  5. Once the plugin is successfully installed, click on Activate Plugin.

Install CometChat

Once the plugin is activated, follow the below steps to install it on your website.

  1. Click on the CometChat tab on the left-hand side navigation menu.
  2. Enter your License Key and then your Auth Key and click on the Install button to activate CometChat.

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:

[cometchat layout='docked']

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']

Secure CometChat

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!

Did this answer your question?
😃
😞