**To embed Papo's website chat on WordPress, create a Website inbox in the Papo platform (https://papo.global/), copy the generated script, and paste it into your WordPress — directly in the theme code, with a script insertion plugin, or via the header/footer section. Then adjust colors and the welcome message directly in the Papo dashboard to align the widget with your brand's visual identity.**

| Step | Action | Details |
|---|---|---|
| 1. Create the inbox | In the Papo dashboard, go to **Settings → Inboxes → Add inbox** and select **Website** | Enter the WordPress URL and a name for the inbox (e.g., “Sales Website Chat”) |
| 2. Copy the script | After creating the inbox, the platform displays a code snippet | Save the code to paste into your WordPress |
| 3. Paste into WordPress | Insert the script before the `</body>` tag of your site | Use a script insertion plugin, the theme's `footer.php` file, or the header/footer section in the customizer |
| 4. Customize appearance | In the inbox settings (still in the Papo dashboard), adjust colors and the welcome message | The widget will inherit the defined colors and greeting, keeping consistency with your brand |

## How to install the widget in detail

1. **Create the website inbox:** In the **Settings → Inboxes** menu, click **Add inbox**. From the channel list, choose **Website**. Give it a name that identifies its purpose (e.g., “Online Support”) and enter the WordPress URL where the chat will appear.
2. **Copy the widget script:** As soon as the inbox is created, Papo automatically generates a small code block (JavaScript). Copy that script.
3. **Paste the code into WordPress:** The most common way is to use a dedicated script plugin (such as “Insert Headers and Footers”), which lets you paste the code into the footer section without changing theme files. If you prefer to edit the theme directly, open the `footer.php` file and paste the script immediately before the `</body>` tag. Save your changes.
4. **Assign agents to the inbox:** Still in the Papo dashboard, add the team members who will handle conversations started in the widget. Without linked agents, messages will not be distributed.

## Customize colors and welcome message

With the widget installed, you can adjust its appearance and behavior without touching code:

- **Colors:** Set the primary color and accent color for buttons and headers. The chosen colors will be automatically applied to the chat, reflecting your site's palette.
- **Welcome message:** Set up a proactive greeting that appears to the visitor after a few seconds. Use phrases such as “Hi! Can I help you find something?” or “Do you have questions about our services?”.
- **Widget icon:** Replace the default icon with an image that better represents your brand or the action of chatting.
- **Smart behavior:** You can connect the widget to an AI assistant (Capitão) to reply automatically, qualify leads, and schedule meetings, as well as set support hours with automatic away responses.

All these options are available on the Website inbox settings page, with no need to access the WordPress code again.

## Who this integration is useful for

- **WooCommerce online stores** that want to support customers in real time and capture product questions.
- **Blogs and corporate websites** that want to turn readers into leads through conversations.
- **Agencies and freelancers** who use WordPress and need a professional contact channel integrated with CRM and WhatsApp.
- **Any B2B or B2C operation** that already uses Papo as a customer service platform and wants to bring chat to its website without migrating tools.

## Frequently asked questions

### Do I need to know how to code to install the widget?
No. The process boils down to copying a code and pasting it into WordPress. Script insertion plugins make the task even simpler, with no technical knowledge required.

### Can I test the widget before going live?
Yes. You can install the script in a testing environment or on a non-public WordPress page to validate colors, message, and functionality before publishing it on your main site.

### Does the chat work on mobile devices?
Yes, Papo's widget is responsive and automatically adapts to smartphones and tablets, with no additional configuration.

### Can I change the chat icon after installation?
Yes, at any time you can change the icon in the inbox settings, without touching the WordPress code.

### How does the chat connect with WhatsApp and the CRM?
The same website inbox works alongside WhatsApp, Instagram, and other channels. Every conversation is recorded in the contact's profile, and you can continue the conversation on WhatsApp if the visitor prefers. You can also create deals in the Kanban funnel directly from the chat.

### What should I do if the widget doesn't appear after pasting the script?
Check that the code was inserted before the `</body>` tag and that there are no conflicts with cache plugins. Clear your site and browser cache. If the problem persists, check that the inbox is active and has linked agents.

## Read also

- [How to create an automatic welcome flow for new WhatsApp contacts](/hc/papo/articles/how-to-create-automatic-welcome-flow-for-new-whatsapp-contacts)
- [How to personalize automated messages with the contact's name and data](/hc/papo/articles/how-to-personalize-automated-messages-with-contact-data)

---

**[Start for free →](https://papo.global/?utm_source=helpcenter&utm_medium=article&utm_campaign=how-to-embed-papo-website-chat-on-wordpress&utm_content=en)**

The first user is free forever, no credit card required.