How to connect Magento 2 to AskSpot

To answer questions about orders, AskSpot needs read access to your store. On Magento 2 that means creating an integration and copying its Access Token. This guide walks through adding the integration, granting read access to the Sales resource, activating it, and adding the token in your AskSpot panel.

Key takeaways

  • Magento 2 exposes order data through a custom Integration you create under System → Integrations.
  • Grant read access to the Sales resource – it covers Orders, Shipments and Invoices.
  • Activating the integration reveals four keys – you add the Access Token in the AskSpot panel yourself.
  • The agent only ever reads (GET) – nothing in your store is modified.

What the connection does

Magento 2 (Adobe Commerce) exposes your data through integrations. You create one for AskSpot, grant it read access to the Sales resource, and activate it – and from then on an AI chat agent built for e-commerce can look up an order status and answer “where is my order?” in the shopper’s own words, at any hour. The whole process is read-only, so nothing in your store can be changed.

Before you start

  • Access to the Magento 2 admin with rights to create integrations.

Step 1 – Open Integrations

  1. Sign in to your Magento admin.
  2. In the left menu, open System.
  3. Under Extensions, click Integrations. (Path: System → Integrations.)

Step 2 – Add a new integration

On the integrations list, click Add New Integration in the top-right corner.

Step 3 – Enter the basics

  1. In the Integration Info tab, fill in Name with something you will recognise, e.g. AskSpot_API.
  2. Leave the other fields (Email, Callback URL, Identity link URL) empty.
  3. Switch to the API tab on the left.

Step 4 – Grant Sales access (the important one)

  1. In Resource Access, choose Custom.
  2. In the resource tree that appears, find the top-level Sales branch.
  3. Tick the Sales checkbox – it automatically selects the sub-resources (Orders, Shipments, Invoices, and so on).

Why Sales? AskSpot needs to read order data and shipment/delivery data – both live under the Sales branch. Granting the whole branch is the simplest, most reliable way to make it work, and every call is read-only (GET), so no data is ever modified.

Step 5 – Save and activate

  1. Click Save in the top-right corner. You return to the integrations list, where the new integration shows as Inactive.
  2. In its row, under Actions, click Activate.

Step 6 – Allow and copy the keys

  1. A dialog asks you to confirm access to the selected resources. Click Allow.
  2. Magento then shows four values: Consumer Key, Consumer Secret, Access Token and Access Token Secret.

Step 7 – Add the details in AskSpot

That is the Magento side done. You add the connection yourself in the AskSpot partner panel – there is no need to send us the credentials:

  1. Sign in to partners.askspot.io.
  2. Open your chat settings and go to Order Handling.
  3. Choose Magento as the platform.
  4. Enter your store domain (with https://, e.g. https://mystore.com) and the Access Token from Step 6.
  5. Save.
AskSpot partner panel: Order handling with the Add order platform dialog, Magento chosen, and the Domain name and API key fields
In partners.askspot.io: AI Chats → Order handling → Add order platform → choose Magento, then enter the store domain and paste the Access Token into the API key field.

Stuck? Ask the built-in assistant. The AskSpot panel has an AskSpot Assistant in the top-right corner. Tell it what you want to set up and it walks you through connecting and configuring the agent – you don’t have to do it alone.

From then on the agent reads orders straight away – the connection behind “where is my order?” answered without a human.

For placement modes, display options and the full picture, see the Magento integration.

Next – measure conversions. Once the chat is live, connect Google Analytics to see which conversations lead to sales. See how to track the AskSpot chat in Google Analytics.

Do I need a plugin to connect Magento to AskSpot?

No. Magento 2 has integrations built in. You create one under System → Integrations, grant read access, and activate it – nothing extra to install.

Which access should the integration have?

Read access to the Sales resource is enough – it covers Orders, Shipments and Invoices. The agent only performs read (GET) operations, so it cannot change anything in your store.

Which of the four keys do you need?

Only the Access Token. You can ignore the Consumer Key, Consumer Secret and Access Token Secret for this integration.

Official references

For the authoritative, always-current details, see Adobe Commerce / Magento’s own documentation:

LinkedIn

Written by

AskSpot Team

AskSpot builds AI Chat and Inbox Agents for e-commerce: on-site product advice and 24/7 support across email, chat and marketplaces, in 200+ languages.

Case studies

Real results for e-commerce stores

See how online retailers use AskSpot to automate conversations, reduce support workload and grow sales.

All case studies

Morele.net

How Morele.net cut customer service costs by 90%

Morele.net cut support costs 90%, from 50 agents to 5. AskSpot resolves 65% of its 37,600 monthly chats with no human and answers Allegro questions too.

Read the story →

Militaria.pl

How Militaria resolves 72% of chats in 8 languages

Militaria.pl runs AskSpot across three domains in eight languages: 61% recommendation click-through, 26% add-to-cart after a chat, 72% resolved with no human.

Read the story →

4FIZJO

How 4FIZJO resolves 61% of customer chats with AI

AskSpot's AI Chat resolves 61% of 4FIZJO's 21,360 monthly chats with no human across 6 markets; its Inbox Agent auto-resolves 25% of email tickets.

Read the story →

Meblobranie

How chat advice puts €1.9M of garden furniture in baskets a month

Meblobranie's AskSpot agent answers the questions garden furniture is bought on – size, colour, anchoring, spare nets. Chat advice puts €1.9M into the cart a month, 20% of chats fill a basket, 70% resolved.

Read the story →

Szopex

How one AI agent runs across Szopex’s three retail brands

One AskSpot agent runs across Szopex's three storefronts – Sklep Biegacza, Warsaw Sneaker Store and SKStore – on three e-commerce platforms. 67% of chats resolved, 58% product CTR, 11.7% end in a purchase.

Read the story →

moderno.dk

How moderno.dk resolves 64% of furniture chats with no human

moderno.dk's AskSpot agent resolves 64% of furniture questions with no human – delivery, sizing, stock and order changes – and turns 12.3% of chats into carts.

Read the story →

16case studies

See every story

Every merchant we have measured – what shoppers asked, what the agent did, and the numbers it moved.

Browse them all →

Ready to make every conversation sell?

Book a demo and see AskSpot on your own catalog. Onboarding takes a few days.