How to Add Live Chat to Your Website with Chatwoot

How-tobeginnerTime to complete:15 to 45 minutes
  • By Tiyan Wisesa
  • Updated November 27, 2026
  • Requires Marketplace App
  • Tested on Chatwoot 4.19.1
On this page

Chatwoot is an open source customer support platform that brings your customer conversations into one team inbox. This tutorial adds a live chat bubble to a WordPress website. A visitor sends a message from your website, it appears in your inbox right away, and your reply appears on their screen without a page refresh.

The screenshots in this tutorial come from Cool Breeze AC Care, the fictional company website built in How to Launch a Company Profile Website with WordPress.

To get Chatwoot running quickly, this tutorial uses the Chatwoot app from the CloudRaya Marketplace. A Marketplace app is ready to run: you do not need to create a server or install anything yourself, CloudRaya runs it for you and gives it an HTTPS address, and you can move to a bigger package later without deleting the app. If you prefer to install Chatwoot yourself, follow the official self-hosted guide and continue from Step 2.

Prerequisites

Step 1: Get Chatwoot Running

If you have not installed Chatwoot yet, install it first by following the official self-hosted guide, then continue with Step 2.

If you need a quick solution with a premade app, deploy it from the CloudRaya Marketplace instead. This is the option used in the rest of this tutorial. The app already includes its own database, so there is no database to create or connect.

  1. In the CloudRaya dashboard, under Other Product, click Marketplace.
  2. Search for Chatwoot, then click View Details.
  3. Click Deploy Now.
  4. Keep the latest Application Version, and enter a unique Application Name, for example website-chat.
  5. Choose a Deployment Package. Small is the minimum for Chatwoot, and it is enough for a team of up to 3 agents. You can move to a bigger package later without deleting the app, but you cannot move to a smaller one.
  6. Click Deploy App. You are redirected to My Apps.

Wait until the status of the app changes to Running.

Step 2: Create Your Admin Account

A new Chatwoot app cannot send email yet, so the password reset link does not work until you add email settings. Save your password in a password manager.
  1. In My Apps, click the app name and open the address of your app in a new tab. It looks like https://<app-id>.cloudraya.app.
  2. Enter your Name, Company Name, Work Email, and a strong Password.
  3. Clear the Subscribe to release notes checkbox if you do not want those emails.
  4. Click Finish Setup.
  5. On the next page, check your details, make sure the Timezone is correct, and click Continue.
The Chatwoot setup form with the fields Name, Company Name, Work Email, and Password
The first account you create here becomes the administrator.

This screen works only once. After the first account exists, the screen closes and nobody else can sign up on their own.

Step 3: Create an Inbox for Your Website

An inbox is where the conversations from one channel arrive. In this step, you create an inbox for your website.

  1. In the sidebar, click Settings, then Inboxes, then Add Inbox.
  2. Click Website.

Fill in the form in the voice of your own business. The example below is for an AC service company:

  • Website Name: Cool Breeze AC Care
  • Website Domain: your domain without https://
  • Widget Color: a color from your website, such as #2B6F8F
  • Welcome Heading: Too hot at home?
  • Welcome Tagline: Leaking, noisy, or blowing warm air? Tell us your address and the problem. We are here every day, 8 AM to 6 PM.
  • Enable channel greeting: select Enabled, and enter the first message that visitors receive automatically: Thanks for writing to Cool Breeze! While you wait, please share your address and what your AC is doing, so we can bring the right tools.
The Website channel form in Chatwoot, filled in for Cool Breeze AC Care
The heading and tagline are the first words visitors see.

Then finish creating the inbox:

  1. Click Create inbox.
  2. On the Agents page, select your own name and click Add agents. Only the agents you add here can see the conversations in this inbox, and that includes administrators.
  3. On the Your Inbox is ready! page, click More settings.

Step 4: Make the Widget Ready for Customers

Finish these settings before you put the widget on your website, so your customers never see a half-finished chat. Each tab has its own save button, so save before you open the next tab.

To come back to these settings later, click Settings, then Inboxes in the sidebar, and click the Settings icon next to your inbox.

Settings tab

  1. Under Channel Avatar, upload your logo.
  2. Under Features, select Use inbox name and avatar for the bot. Without this, your automatic greeting is signed "Bot".
  3. Under Set Reply time, choose a time your team can really keep.
  4. Turn off Enable email collect box. Your app cannot send email yet, so do not offer email notifications to your visitors.
  5. Click Update.
The Features and Channel Preferences sections in Chatwoot, with the bot option selected and the email collect box turned off
Your greeting now appears under your business name.

Business Hours tab

Business hours tell visitors when you are open, and what to expect when you are not.

  1. Turn on Enable business availability for this inbox.
  2. Replace the default message with your own, for example We are closed right now. We open every day at 8 AM. Leave your address and the problem, and we will reply when we are back.
  3. Under Select timezone, choose your timezone.
  4. Set the days and hours when your team is open.
  5. Click Update business hours settings.
The Business Hours tab in Chatwoot with every day set from 8 AM to 6 PM in the Jakarta timezone
Match these hours to the opening hours on your website.

Pre Chat Form tab

A short form before the chat gives each conversation a real name and a phone number, so your team can call back if the visitor leaves.

  1. Turn on Enable pre chat form.
  2. Replace the message with Tell us who you are, so our team can reach you.
  3. Turn off the emailAddress field.
  4. Keep fullName and phoneNumber turned on and Required.
  5. Change the Placeholder of fullName to Your name, and the Placeholder of phoneNumber to Start with +62.
  6. Click Update Pre Chat Form Settings.
The Pre Chat Form tab in Chatwoot with the full name and phone number fields turned on and the email field turned off
Visitors see these labels and placeholders in the form.

Your name

Your customers see the name of the agent who replies. To show your team name instead of your personal name:

  1. Click your name at the bottom left of the sidebar, then click Profile Settings.
  2. Change Your full name to your team name, for example Cool Breeze Team.
  3. Click Update Profile.

Step 5: Add the Widget to WordPress

Your website may already have a WhatsApp button, and you can keep it. Live chat adds a second way to reach you, for visitors who prefer to stay on the page or do not want to share their phone number right away.

The widget must load on every page, and the footer appears on every page. You do not need a plugin.

First, copy the widget code. In Chatwoot, go back to the Settings tab of your inbox. In the preview panel on the right, click Script, then click Copy.

The Script panel in Chatwoot with a Copy button above the widget code
This code is meant to be public. It appears in the source of your website.

Then add the code to your footer:

  1. In your WordPress dashboard, go to Appearance, then Editor, then Patterns.
  2. Click All template parts, then click the template part named Footer.
  3. Click the + icon at the top left of the editor, search for Custom HTML, and drag the block to the very bottom of the footer.
  4. In the block, click Edit HTML.
  5. Paste the code into the HTML tab, and click Update.
  6. Click Save. If a panel opens, check that Footer is selected and click Save again.
The Custom HTML editor in WordPress with the Chatwoot widget code pasted into the HTML tab
Paste the widget code into its own Custom HTML block.

The block shows nothing in the editor, and that is expected. The chat bubble appears on your live website.

You only need to do this once. When you change the heading, hours, or form in Chatwoot later, the widget updates by itself.

If your website is not built on WordPress, paste the code just before the closing </body> tag of your pages instead.

Step 6: Have Your First Conversation

Now test the widget the same way a customer would use it. You need two windows side by side.

  1. Keep Chatwoot open in your normal browser window, on Conversations.
  2. Open your website in a private window, so you appear as a new visitor.
  3. Click the chat bubble at the bottom right of the page.
The Cool Breeze AC Care homepage with the chat widget open, showing the heading Too hot at home and the status We are online
Your widget, with your logo, colors, and words.

Start the conversation as a visitor:

  1. Click Start Conversation.
  2. Fill in the form with a test name and phone number, write a message, and click Start Conversation.
The pre chat form in the widget with fields for Full Name, Phone Number, and Message
The visitor fills this in once, before the chat starts.

Your greeting appears in the widget straight away. Now look at Chatwoot. The conversation is already there, under the name you entered, and you did not refresh the page.

Answer it as your team:

  1. Click the conversation.
  2. On the Reply tab, type an answer and click Send.
  3. Look at the private window.

Your reply is already on the website.

The chat widget on the left and the Chatwoot inbox on the right, both showing the same conversation with the visitor's question, the automatic greeting, and the team's reply
The same conversation, seen by the visitor and by your team.

Verification

  • The chat bubble appears on your homepage and on your other pages.
  • The widget shows your logo, heading, and tagline.
  • A new visitor must fill in the name and phone number before the chat starts.
  • A message from the website appears in Chatwoot without a page refresh.
  • Your reply appears in the widget without a page refresh.
  • The automatic greeting appears under your business name, not "Bot".

Troubleshooting

The app stays in deployment or shows Failed: give it a few minutes, as the first start can take a while. If the app still does not come up, email our support team and include the app name.

The chat bubble does not appear: check that you saved the Footer in Step 5. If you use a cache plugin, clear its cache. Then turn off any ad blocker and open your website in a private window.

Messages appear only after a refresh: reload Chatwoot, then try again from another network. Some VPNs and office networks block the connection that live chat uses.

The widget says you are away during opening hours: check the hours and timezone on the Business Hours tab, and check that your status in Chatwoot is online. The green dot on your avatar at the bottom left shows your status.

You forgot your password: Chatwoot sends the reset link by email, so your app needs email settings first. You can add them from the panel without logging in. You need an account with an email sending provider.

  1. In CloudRaya Marketplace Panel, under My Apps, click the app name and open the Environment tab.
  2. Click Add Variable, select chatwoot as the container, and add one of the variables below. The app restarts after each variable, so wait for Running before you add the next one.
  3. On the Chatwoot login page, click Forgot your password?, enter your email, and click Submit. Then open the link in the email to set a new password.

The variables are:

  • MAILER_SENDER_EMAIL: the address Chatwoot sends from
  • SMTP_ADDRESS: the host name of your SMTP server
  • SMTP_PORT: usually 587
  • SMTP_USERNAME: your SMTP username
  • SMTP_PASSWORD: your SMTP password
  • SMTP_AUTHENTICATION: usually plain
  • SMTP_ENABLE_STARTTLS_AUTO: usually true

Next Steps

Conclusion

Your website now has a live chat that answers in your own words, follows your opening hours, and sends every conversation to your own inbox. Visitors can reach you the moment they have a question, without leaving the page.

About the author

Tiyan Wisesa

Product Technical Writer at CloudRaya. Writes and tests the CloudRaya Tutorials, with a focus on clear steps that anyone can follow.