Embed Layout

To embed layout into your site page:

1. Login into CometChat Administration Panel -> Layouts -> Embedded. Click on the Generate Embed Code Embed a Chatroom button next to Embedded Layout.

2. A window pops out where you can set the dimensions of the embed layout as shown in the image below. After setting the dimensions, click on the Generate Code button.

Screenshot1

3. A window pops out with the iframe HTML code as shown in the image below.

Screenshot2

4. Copy the code and add to your site’s HTML code.

To use direct link to the Embedded layout:

1. Login into CometChat Administration Panel -> Layouts -> Embedded. Click on the Generate Embed Code Screenshot3 button next to Embedded Layout.

2. The directed link will appear as shown in the image below.
Screenshot4

Not finding what you need?

The CometChat team is here to help!