Integration with PrestaShop

Last updated: February 5, 2026

Connect your ChatLab chatbot with your PrestaShop store to give customers real-time access to product information and order tracking directly in the chat.

Important: E-Commerce Best Practices

After completing the integration below, read the comprehensive guide on optimizing your chatbot for e-commerce: How to set up ChatLab for your E-commerce store

What the Integration Provides

Product Search -- Customers can search your PrestaShop catalog by entering a phrase. The chatbot searches across product titles and descriptions, returning the top 5 matching products with:

  • Product ID, name, and description
  • Price
  • Direct link to the product page in your store
  • Product image

Order Details -- Customers can check their order status by providing an order ID and the email address associated with the order. Both values are validated against your PrestaShop store records. The chatbot returns:

  • Order reference, date, and current status (e.g., processing, completed, cancelled)
  • Order total
  • Recipient name, company, full delivery address (street, city, postal code), and phone number
  • Carrier name and tracking numbers (multiple tracking numbers supported)
  • Ordered items with names, quantities, and individual prices

Prerequisites

Before starting the PrestaShop integration, make sure:

Step 1: Enable the Webservice in PrestaShop

  1. Log in to your PrestaShop back office
  2. Go to Configure > Advanced Parameters > Webservice

PrestaShop admin menu showing Advanced Parameters and Webservice option|width=25

  1. Scroll down to the Configuration section
  2. Set Enable PrestaShop's webservice to Yes
  3. Click Save

Configuration section with Enable PrestaShop's webservice toggle and Save button

Step 2: Create a Webservice Key

  1. On the same Webservice page, click Add new webservice key

Webservice page with Add new webservice key button|width=50

  1. Click Generate to create a new key
  2. Enter a description (e.g., "ChatLab Integration")
  3. Make sure the key is Enabled
  4. Under resource permissions, grant View (GET) access to the following resources:
    • languages
    • attachments
    • stock_availables
    • search
    • products
    • orders
    • tags
    • customers
    • addresses
    • order_states
    • order_carriers
    • categories
    • carriers

Webservice key configuration with Generate button, description, and View GET permissions

  1. Click Save
  2. Copy the generated webservice key -- you will need it in the next step

Step 3: Find Your Product URL Format

  1. In the PrestaShop back office, go to Configure > Shop Parameters > Traffic & SEO

PrestaShop admin menu showing Shop Parameters and Traffic & SEO option|width=25

  1. Scroll down to the Schema of URLs section
  2. Copy the value from the Route to products field (e.g., {category:/}{id}{-:id_product_attribute}-{rewrite}{-:tags}.html)

Schema of URLs section showing the Route to products field

Step 4: Connect PrestaShop in ChatLab

  1. Log in to ChatLab and select your bot
  2. Go to the Connect tab

Connect tab showing the PrestaShop integration tile

  1. Click Connect on the PrestaShop tile
  2. Enter your Webservice key (from Step 2)
  3. Enter your Shop url (the full URL of your store, e.g., https://www.mystore.com)
  4. Enter your Product url format (from Step 3)

PrestaShop integration form with webservice key, shop URL, product URL format, and default language

  1. Click Initialize Configuration -- this fetches available languages from your store
  2. Select the correct Default language from the dropdown
  3. Click Connect

ChatLab automatically tests the connection by verifying that your webservice key has the required access. If successful, you will see a confirmation message.

Step 5: Configure PrestaShop Actions

After connecting, you can enable and customize individual AI actions. Navigate to Settings > Actions and filter by the PrestaShop platform.

PrestaShop actions in Settings showing product search and order details

Two actions are available:

  • Prestashop - product search -- enables the chatbot to search your product catalog
  • Prestashop - order details -- enables the chatbot to look up order information

Click the activate button on each action to enable it. You can also customize the action label (the message shown to users while the action runs) and the instructions that guide how the AI uses each action.

Testing Your Integration

After activating the actions, open your chatbot widget and try:

  • "Show me running shoes" (tests product search)
  • "What's the status of my order 12345?" (tests order details)

Verify that the responses match data from your PrestaShop store and that product links open correctly.

Install Chatbot on Your PrestaShop Store

To add the chat widget to your PrestaShop storefront, see the detailed guide: Installing Chatbot on a PrestaShop Store