Prerequisites
- A Magento Open Source or Adobe Commerce 2.4 store — on your own infrastructure or on Adobe’s cloud infrastructure — served over HTTPS at a publicly reachable address. VexiData rejects plain
http://stores. Adobe Commerce as a Cloud Service (the SaaS edition) is not supported - A Magento Admin account allowed to create integrations under System > Extensions > Integrations
- The Connect sources capability in your VexiData organization, to connect the platform — Owners and Admins have it by default
VexiData connects to your store from the public internet, so it refuses
addresses that only exist on your own machine or network:
localhost,
hostnames ending in .local or .internal, private IP addresses, and
hostnames that don’t resolve or that resolve to a private address. A local
development store can’t be connected. Use a staging or live store with a
public HTTPS address instead.Connect Magento
1
Create an integration in Magento
- In the Magento Admin, go to System > Extensions > Integrations and click Add New Integration
- Enter a Name (for example,
VexiData) and your email, leave the callback and identity link URLs empty, and confirm with Your Password - Open the API tab and set Resource Access to All — or pick Custom and tick at least the resources in the table below
- Click Save, then click Activate next to the new integration and Allow
- Copy the Consumer Key, Consumer Secret, Access Token, and Access Token Secret from the Integration Tokens for Extensions dialog, then click Done
2
Add the connection in VexiData
Go to the Integrations page in VexiData, click Connect on Magento, and fill in:
3
Test and connect
Click Test connection to check the tokens without saving, then click Connect. VexiData reads your store’s configuration (
/rest/V1/store/storeConfigs) to verify the tokens, and names the connection after your store’s domain. If the test fails, work through the troubleshooting section below.API resources
With Resource Access set to All, every tool works. With Custom, tick the resources for what you want the AI to reach. Stores > Settings > All Stores is always needed, because the connection test reads the store configuration.
When a tool needs a resource the integration lacks, the error names it. Grant it in the integration’s API tab and save; if Magento asks you to reauthorize, connect the store again in VexiData with the new tokens.
Managing the connection
To connect more stores, click Add account on the Magento card on the Integrations page — each store keeps its own URL and tokens. The connection with the Primary badge is the primary, which tools use when a request doesn’t name one. To change it, open another connection and click Make primary in its Connection card. To rotate tokens, click Reauthorize on the integration in Magento, copy the new tokens, and connect the same store URL again — VexiData updates the existing connection. To remove a store, open its connection and click Disconnect in the Connection card. Stores with several store views or websites need nothing extra: ask for a store view by its code and the AI addresses it directly; without one, Magento answers for the default store view. Global catalog changes use Magento’sall scope.
What the AI can do
Troubleshooting
Connection test fails
Connection test fails
- Confirm the store URL is correct and starts with
https://. Pasting the API base (…/rest/V1) works too — VexiData trims it - If the error says the store URL points to a blocked host or a private network address (or resolves to one), VexiData can’t reach the store from the public internet — see the note under Prerequisites
- If the error says no Magento REST API answered at
/rest/V1, the store may run without URL rewrites — add/index.phpto the store URL, for examplehttps://shop.example.com/index.php - Check your SSL certificate is valid and not expired, and that no firewall or WAF rule blocks requests to
/rest/
The integration is not allowed to use an API resource
The integration is not allowed to use an API resource
Magento answers with HTTP 401 for a missing permission as well as for bad tokens. When the message names a resource such as
Magento_Sales::actions_view, the tokens are fine: in the Magento Admin open System > Extensions > Integrations, edit the integration, tick that resource under API (or set Resource Access to All), and save. If Magento asks you to reauthorize, connect the store again in VexiData with the new tokens.Magento rejected the request credentials
Magento rejected the request credentials
- Make sure all four values come from the same integration and were copied in full — Magento shows them in the Integration Tokens for Extensions dialog when you activate or reauthorize it
- Check the integration is Active under System > Extensions > Integrations; reauthorizing or deleting it invalidates the old tokens
- VexiData signs requests with OAuth 1.0a, so the Allow OAuth Access Tokens to be used as standalone Bearer tokens setting can stay off
Large stores and page sizes
Large stores and page sizes
List endpoints return at most the page size the AI asks for (50 by default). If your store has Web API Input Limits enabled under Stores > Configuration > Services > Magento Web API, requests above its Maximum Page Size (300 by default) fail, and the AI pages through results in smaller steps instead.
Tools don't appear in my AI client
Tools don't appear in my AI client
Tools register as soon as the platform is connected, but some clients cache the tool list. Reload or reconnect the VexiData connector in your AI client.