- Read products, categories, stock levels, and pricing from your store
- Build dashboards for orders, customers, and catalog operations
- Manage PrestaShop Webservice resources your API key can access
- Keep custom storefronts and internal tools connected to ecommerce data
- Use PrestaShop filters, sorting, and field selection for store views
Common use cases and example apps
How to connect PrestaShop
Workspace admins and owners can connect PrestaShop. You can create multiple PrestaShop connections using different store URLs and Webservice API keys, which is useful for separating environments (for example, staging and production) or connecting multiple stores. When the connection is created, PrestaShop becomes available across all projects in the workspace. Anyone building in a project can ask Lovable in chat to link their project to it.Prerequisites
Before connecting PrestaShop, make sure you have:- A PrestaShop store with Webservice enabled
- Your store’s public HTTPS URL, including any subdirectory if the store is not hosted at the domain root
- A PrestaShop Webservice API key with permissions for the resources your app needs
- Lovable workspace owner or admin role
All API requests made through this connector use your PrestaShop store and Webservice API key. Store hosting, API access, quotas, and billing are handled by your PrestaShop setup, not Lovable.
Step 1: Get a PrestaShop Webservice API key
A PrestaShop Webservice API key lets your Lovable app authenticate with PrestaShop Webservice. API calls use the permissions assigned to that key. To create a PrestaShop Webservice API key:1
Open your PrestaShop back office
Sign in to the PrestaShop back office for the store you want to connect.
2
Enable Webservice access
Open the Webservice settings and enable PrestaShop Webservice if it is not already enabled.Note your public store URL. For example, use
https://shop.example.com for a store at the domain root or https://shop.example.com/prestashop for a store hosted in a subdirectory.3
Create a Webservice key
Add a new Webservice key for Lovable. Use a descriptive name or description, for example
Lovable integration.4
Choose resource permissions
Grant the resources and methods your app needs. Common resources include products, categories, orders, customers, and stock availability. For write workflows, include the matching create or update permissions in PrestaShop.
5
Copy the key
Copy the Webservice API key and store it securely.
Step 2: Connect PrestaShop to Lovable
You can create multiple connections using different store URLs and Webservice API keys.1
Open PrestaShop in Connectors
Go to Connectors and select PrestaShop.
2
Add a connection
Click Add connection.
3
Configure the connection
- Display name: name the connection, for example
PrestaShop Prod. - Store URL: enter your PrestaShop store URL. Include any subdirectory before
/apiif your store is not hosted at the domain root. Do not include query parameters. - Webservice API key: paste your PrestaShop Webservice API key.
4
Choose who can access this connection
Under Who can access this connection, decide who in your workspace can use the connection:
- Only you (default): only the person creating the connection can use it and its associated data.
- Invite specific people: only you and explicitly added workspace members can use the connection and its associated data.
- Invite entire workspace: click Invite entire workspace to make the connection available to everyone in your Lovable workspace.
5
Connect
Click Connect.
Working with PrestaShop Webservice data
The connector sends API calls through Lovable’s connector gateway. Do not put your Webservice API key in frontend code, URLs, or custom headers. Common PrestaShop Webservice paths include/products, /categories, /orders, /customers, and /stock_availables.
For read-heavy pages, ask Lovable to use PrestaShop Webservice query parameters such as display, filter[...], sort, and limit to request only the data your app needs.
For creates and updates, PrestaShop Webservice often expects XML payloads. Ask Lovable to keep these requests server-side and match the payload format required by the specific PrestaShop endpoint.
Limitations
The PrestaShop connector cannot:- Create, host, or configure your PrestaShop store
- Enable Webservice access or assign Webservice permissions in PrestaShop for you
- Bypass the permissions assigned to the connected Webservice API key
- Bypass limits, modules, or hosting constraints in your PrestaShop setup
- Rotate Webservice API keys automatically. To rotate a key, create or update the key in PrestaShop and update the Lovable connection
- Support per-end-user PrestaShop login. Each connection represents a single PrestaShop Webservice API key shared across all projects linked to it.
- Guarantee that every create or update endpoint accepts JSON. Some PrestaShop Webservice writes require XML payloads.
Manage your connection
Connections are managed from Connectors: select , then open the connection.- Unlink projects to remove access from specific projects while keeping the connection available for others. See Unlink projects from a connection for the steps.
- Delete the connection to remove it from the workspace entirely. Deleting is permanent. It removes the credentials from all linked projects, and app features that use stop working until a new connection is added. See Delete a connection for the steps and who can delete.