Skip to main content

General Settings

The eChat configuration is located at Stores > Configuration > Mirasvit Extensions > eChat.

Account

The Account section manages your store's connection to the eChat cloud platform. Before you connect, it offers two tabs; once connected, it shows the workspace credentials and the actions below.

Tab / ActionDescription
ConnectConnect with eChatOpens the eChat consent screen in a new tab, where you choose to create a new workspace, add this store to an existing eChat account, or restore a workspace you set up earlier. No OpenAI API key is required.
Restore with credentialsReconnects an existing workspace using its Instance ID and Secret Key - used when moving a store to a new domain.
Reset RegistrationDisconnects this store from its eChat workspace, and removes the workspace on the eChat side. At website or store-view scope the action is called Reset to Global Account and returns that scope to the global workspace instead.
Instance ID / Secret KeyThe connected workspace's credentials. The secret key is masked; click it to reveal. These are also the REST API token.
note

Every store view of a Magento installation is grouped under one eChat account automatically, so each connected store view appears under a single, recognizable account rather than as an unrelated workspace. The grouping is managed in the backend, on the Workspaces tab.

Per-store-view workspaces

By default a store view inherits the global workspace, and the panel says so. To give a store view its own workspace - a separate knowledge base, separate settings, separate conversations - switch the configuration scope to that store view and click Switch to Separate Account. Once several store views have their own workspaces, the default-scope panel lists them under Store-Level Overrides, each with its own Configure Chat button.

Managing registrations requires the Mirasvit_EChat::echat_config ACL resource. An admin without it sees the connection status but no connect, configure, or reset actions.


Configure Chat

Once your store is connected, use the Configure Chat button to open the eChat platform in a new browser tab. The chatbot's AI provider and model, appearance, behavior, greeting messages, and other widget settings are all managed on the eChat platform - not in the Magento admin. See How to configure the chatbot.


Turning the widget on and off

There is no on/off switch on this configuration screen. The widget is enabled per workspace in the eChat backend, under Settings > Widget > Enable widget - see Settings.

Two other things can keep the widget off a storefront that is otherwise configured:

  • The page matches Do not load the widget on pages (below).
  • The store has no active Mirasvit license. Since version 1.2.0 the storefront widget requires one; development domains are unaffected, as elsewhere in Mirasvit extensions.

Widget

  • Do not load the widget on pages - a list of patterns, one per line, marking where the chat widget should not load. Each line is either:

    • a URL fragment - for example, /checkout/ excludes the whole checkout flow; or
    • a Magento page type (full action name) - for example, checkout_cart_index excludes the cart page, and catalog_product_view excludes all product pages.

    On a matching page no widget script is injected and no request is made to the eChat service at all. Leave the field empty to load the widget on every page.


Sync Schedule

The extension automatically syncs your store data - store information, products, categories, CMS pages, and Mirasvit Knowledge Base articles - to the eChat knowledge base using a cron job that runs daily at 2:00 AM.

The schedule is not configurable from the admin: it is declared in the module's etc/crontab.xml as 0 2 * * *. To run the sync at a different time, override that cron job's schedule from your own module.

You can also trigger a manual sync at any time using the CLI sync command.