> For the complete documentation index, see [llms.txt](https://docs.cleandesk.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cleandesk.ai/app-integrations/widget-in-wordpress.md).

# Widget in WordPress

User Manual: Installing CleanDesk AI WordPress Plugin

**Step 1: Download the Plugin Zip File**

* Visit the CleanDesk AI website and navigate to the downloads section.
* Locate the WordPress plugin and download the zip file to your computer.

**Step 2: Login to Your WordPress Admin Panel**

* Open your web browser and enter your WordPress website's URL.
* Enter your username and password to log in to the WordPress admin panel.

<figure><img src="https://lh7-us.googleusercontent.com/EIB2aWRFSAlcdINv_GWHfpvW3aUi363LdhzS9b6DAqc1LyulTh4PkZAqlnFkzPN9FIsPe-1pMLf8snXHLNpu9DGYdN_fQ0QeaHblP9-66s_pY5n4pV71OJfOaHpy7jt4FuNWvJG9ds1HNkmxz3HGoCM" alt=""><figcaption></figcaption></figure>

**Step 3: Install the Plugin**

* In the WordPress admin panel, navigate to the "Plugins" section and click on "Add New."
* Click on the "Upload Plugin" button.
* Choose the CleanDesk AI plugin zip file you downloaded earlier and click on "Install Now."

<figure><img src="https://lh7-us.googleusercontent.com/y0Xca5jYK1zuSo1ZkvxJJJNjvAFPYHxYiG06VByoFJyZA1uP7QwMxMI7EtnKodwT8s4JsPZzwoGte3ubiqCOHRhL8xnbNqyWb3Dcv6pKoVlKpVAABm_i9Ha_1C4BMart2DhSTpyU9NYPYXsOLpU2TV8" alt=""><figcaption></figcaption></figure>

**Step 4: Activate the Plugin**

* Once the plugin is installed, click on the "Activate" button to activate the CleanDesk AI plugin.

<figure><img src="https://lh7-us.googleusercontent.com/Q9PyGz7QRvfrpMkcnCwWk3gcOgonVtHtmc-4Lh_ZAtV4G1C_L19ZrAjF9Yr-Qh0UUM0HUUjJJLB-wwVY0IEEmBKmFR2eanp1aLGzovPCIXaXd5jMlNA9cu6PDb7XejupEINDYoUoYhSUN9cGNp8asIY" alt=""><figcaption></figcaption></figure>

**Step 5: Configure the Plugin**

* After activating the plugin, navigate to the CleanDesk AI settings page.
* Generate an App Id and App Secret by visiting [www.cleandesk.ai/settings/credentials](http://www.cleandesk.ai/settings/credentials).
* Insert the App Id and App Secret in the plugin settings and save the changes.

<figure><img src="https://lh7-us.googleusercontent.com/ozA2f0ymcTe1LbSYLrRt60xZ2uo2XpmLEI5uH_e1uIqfLh05EOvoOzBbXMfpPKcE9zY8fTGujAiwN0ootiHusvG68ZL9Wq9A9_9vMvOrCo3CquT6MbyPA64Wwn9RxA9medtr7hhql4UQJBQf8t1fu6I" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-us.googleusercontent.com/Ufu0YUb8RJw6_d-o_leJW9iWluQL99dLlm5zq_zBtWx7A0_xKe6d5X6pSKxxKV_Mhg8LGGadTMD1o3UqscSl7jQCfb4MIUsip4n68c04gCE6U2XazXdbQd3L6Bk8hJyqTOS9izShUiHltPitiEDJUEI" alt=""><figcaption></figcaption></figure>

**Step 6: Clear Server-Side Cache**

* To ensure the plugin works correctly, clear your site’s server-side caching.
* Navigate to Settings > Hosting Configuration > Cache and clear the cache.

<figure><img src="https://lh7-us.googleusercontent.com/fZ4WiAEu2AP9Ii_tvciearVb3IkWb0j-eh31N_6pdfHD65y52jXmsBwzS0p53Ogdscx9aaOBLIApngcR8iM_9m8tPUQR5UXpMuyz1zav_VH5Vt0FkC8k6YliT7Bph-l4uwcOjJPOS3FV--a3C32zMMc" alt=""><figcaption></figcaption></figure>

**Step 7: Test the Integration**

Visit your WordPress website and ensure that the CleanDesk AI Chat Widget is visible and functional. Test the chat functionality to confirm successful integration.

Congratulations! You have successfully integrated the CleanDesk AI Chat Widget into your WordPress website. If you encounter any issues, refer to the CleanDesk AI documentation or contact CleanDesk AI support for assistance.

* The CleanDesk AI plugin is now installed and configured on your WordPress site.
* You can now use the plugin to automate customer inquiries, requests, and complaints on your website.

***

This concludes the installation and configuration of the CleanDesk AI WordPress plugin. If you encounter any issues during the installation process, please refer to the CleanDesk AI documentation or contact support for assistance.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cleandesk.ai/app-integrations/widget-in-wordpress.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
