← All articles
Guides

How to install ChatLira on WordPress and test the first conversation

Install the plugin ZIP, connect your widget, publish its settings and check the complete visitor-to-operator journey.

Start with one site and a clear test

Installing a chat is only half the job. The useful check is whether a visitor can send a question and an operator can answer it. This guide follows that path on a WordPress site. The interface screenshots use demonstration settings; replace the example values with those for your own widget.

You need administrator access to WordPress, a ChatLira account and access to the widget settings. Start with Free to explore the product. Its monthly allowance applies to new conversations for each widget; opening the launcher alone does not use a conversation. Check the current allowance before testing repeatedly.

1. Create and prepare the widget

In the ChatLira setup wizard, create a widget for your site. Set its name, accent colour and greeting, then choose WordPress as the installation method. Make the greeting specific: “Questions about sizes or delivery? Leave us a message” gives a visitor a better starting point than “Hello”. This is sample copy for a fictional shop, not a promise about your team's availability.

Add the site's exact origin to the allowed domains. For example, https://shop.example.com contains the protocol and domain, but no page path. http://shop.example.com and https://www.shop.example.com are different origins. Add only the addresses your site actually uses; include a nonstandard port when needed. Publish the widget settings after saving the configuration.

WordPress connection panel in the ChatLira dashboard, with demonstration settings

2. Install the plugin ZIP

Download the ChatLira WordPress plugin. It is supplied directly as a ZIP; these instructions do not require a listing in the WordPress plugin directory.

  1. In WordPress, open Plugins → Add New Plugin → Upload Plugin.
  2. Select the downloaded ZIP, install it and activate ChatLira.
  3. Open Settings → ChatLira. Activation alone does not enable the widget: turn it on in these settings.
  4. Copy the public widget key, API URL and widget script URL from ChatLira. Keep all three values from the same widget configuration.
  5. Choose the language and save the WordPress settings. Auto uses the WordPress site language; choose an explicit language when you need a predictable result.

These are public connection values. Do not paste an operator password or a private API token into the plugin fields. The plugin loads your published ChatLira configuration; saving WordPress settings does not publish an appearance draft in ChatLira.

3. Check a real visitor journey

Open a public page in a separate browser or private window, without the WordPress administration bar. If your site uses a consent manager, follow its normal visitor flow first. The plugin's optional manual consent setting requires an actual integration with that mechanism; switching it on without one prevents the chat from loading.

Use a simple test question: “Can I ask about delivery before placing an order?” Accept the request in the operator workspace and reply. Then verify:

  • The reply appears in the visitor's chat.
  • Minimising the chat leaves the round launcher available, and a new reply updates its unread indicator.
  • Reloading the page restores the conversation in that browser.
  • The layout and message field remain usable on a narrow phone screen.
  • Closing the conversation from the operator side offers the visitor a rating.

Use fictional information for tests. A successfully saved first visitor message creates a new conversation and counts towards the Free allowance. Continuing the same open conversation is different from repeatedly starting new ones.

4. Diagnose the specific problem

Domain not allowed: compare the address in the browser with the allowed origins, including https, www and any port. Settings not published: publish the saved widget configuration in ChatLira. API unavailable: check whether the API address was copied correctly and use the setup wizard's installation check. A successful plugin installation does not prove that the API can be reached from the visitor's browser.

If a page cache or optimisation plugin serves an old version, clear its cache and check the public page again. Avoid adding the chat both through the plugin and through a manually inserted script. When the basic conversation works, move on to measuring chat effectiveness before changing several settings at once.

Create your widget · WordPress integration overview

All articles ↗
CHATLIRA

The next good conversation starts on your website