Account and team

Connect an AI agent to your store

How to connect an AI app that supports MCP to your Piika store, sign in, choose the store and approve exactly what the agent may do.

You can let an AI agent work on your store for you: check today's deliveries, set up a new product, answer "which subscribers paused last week", or prepare a refund for you to approve. Piika offers a Model Context Protocol (MCP) server for this. MCP is an open standard that AI apps use to connect to other services. You add Piika to your AI app with one address and approve the access on a Piika screen.

An agent always acts as you, the team member who connected it. It can never do more than your role on the store allows, and only the kinds of access you approve.

Before you startLink to section: Before you start

  • You need a Piika console account that is a member of the store. See Team roles and permissions for what your role can do.
  • You need an AI app that supports remote MCP servers. Such apps often call them "connectors", "custom connectors" or "MCP servers". Check your app's own help for where to add one.
  • Copy the address from the console. It is the same for every store.

Connect an agentLink to section: Connect an agent

  1. In the console, open Settings and choose the AI agents tab.
  2. In Connect an AI agent, select Copy address next to MCP server address.
  3. In your AI app, open its connectors or MCP settings, add a custom (remote) server and paste the address. No API key is needed.
  4. Your AI app opens a Piika page in the browser. If you are not signed in to the console, sign in first; you return to the same page.
  5. The page is titled Connect followed by the app's name. Check the line that says where you go back to after you decide. It should be the AI app you are using.
  6. Under Store, choose the store the agent may work on. Only stores where you are a team member are listed, each with your role.
  7. Under Access, untick everything the agent does not need. For example, untick Move money if the agent should never prepare refunds.
  8. Select Allow access. Piika sends you back to the AI app, which is now connected.

To stop, select Cancel instead. Nothing is connected and the AI app is told that you declined.

Warning: If Piika shows "Piika has not verified this app", connect only if you started the connection yourself from an app you trust. Anyone can register an app name.

The kinds of accessLink to section: The kinds of access

Each kind of access covers a part of the console, for reading or for changing it. The main ones:

Access What the agent can do
Read store settings / Change store settings Store basics, ordering rules, the launch checklist, the store editor, publishing the store
Read the catalog / Change the catalog Products, variants, plans, prices, preferences, add-on prices, publishing the catalog
Read delivery settings / Change delivery settings Zones, delivery windows, cut-offs, capacity, holidays, shipping, pickup points
Read subscribers / Manage subscriptions Search and read subscribers, and make the changes you can make from a subscriber's page
Read orders / Fulfil orders The calendar, day lists, prep list, shipping and courier assignment
Read payments / Move money Failed payments, refunds, store credit, payment retries, the dunning policy

There are also kinds of access for growth tools (discounts, gifts, referrals, retention offers, reviews), the team, domains, analytics and subscriber import. Approve only what the agent needs for the work you have in mind; you can connect again later with more.

What happens nextLink to section: What happens next

The connection appears under Connected agents on the AI agents tab, with the app's name, the access you approved and when it was last used. Every call the agent makes appears in Agent activity. Read Review and revoke agent access to manage it.

When the agent wants to make a change that moves money, emails a customer or cannot be undone, Piika asks you first. See Safety and confirmations for AI agents. For the full list of what an agent can and cannot do, read What an AI agent can and cannot do.

Common problemsLink to section: Common problems

  • "This connection request has expired". The Piika page is valid for 10 minutes. Go back to your AI app and connect again.
  • The store you want is not listed. You are not a team member of that store. Ask its owner or an admin to invite you.
  • The agent says it cannot use a tool. Either you did not approve that kind of access, or your role does not allow the action. Connect again with the access you need, or ask an owner to change your role.

Questions

Do I need an API key?
No. Your AI app opens Piika in the browser, you sign in with your usual console account and approve the access. Piika gives the app a token that you can revoke at any time.
Can I connect the same agent to two stores?
Each connection is for one store. Connect again and pick the other store to give the agent access to it too.
Can a courier or support member connect an agent?
Yes. Every team member can connect an agent for themselves. The agent can only do what that member's role allows.