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:
- Your chatbot is already added to your PrestaShop store -- see Installing Chatbot on a PrestaShop Store
- You have access to your PrestaShop admin panel (back office)
Step 1: Enable the Webservice in PrestaShop
- Log in to your PrestaShop back office
- Go to Configure > Advanced Parameters > Webservice
- Scroll down to the Configuration section
- Set Enable PrestaShop's webservice to Yes
- Click Save
Step 2: Create a Webservice Key
- On the same Webservice page, click Add new webservice key
- Click Generate to create a new key
- Enter a description (e.g., "ChatLab Integration")
- Make sure the key is Enabled
- Under resource permissions, grant View (GET) access to the following resources:
languagesattachmentsstock_availablessearchproductsorderstagscustomersaddressesorder_statesorder_carrierscategoriescarriers
- Click Save
- Copy the generated webservice key -- you will need it in the next step
Step 3: Find Your Product URL Format
- In the PrestaShop back office, go to Configure > Shop Parameters > Traffic & SEO
- Scroll down to the Schema of URLs section
- Copy the value from the Route to products field (e.g.,
{category:/}{id}{-:id_product_attribute}-{rewrite}{-:tags}.html)
Step 4: Connect PrestaShop in ChatLab
- Log in to ChatLab and select your bot
- Go to the Connect tab
- Click Connect on the PrestaShop tile
- Enter your Webservice key (from Step 2)
- Enter your Shop url (the full URL of your store, e.g.,
https://www.mystore.com) - Enter your Product url format (from Step 3)
- Click Initialize Configuration -- this fetches available languages from your store
- Select the correct Default language from the dropdown
- 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.
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