Skip to contentSage BusinessVision support ends December 2026. Plan your move to Spire →
Gemini Logic
← All articles
SpireAIIntegrationSecurity

How to Connect ChatGPT, Claude or Copilot to Spire ERP Safely

Gemini Logic ·

You can connect ChatGPT, Claude or Microsoft Copilot to Spire ERP through Spire’s REST API, either with a custom integration, an MCP server, or a purpose-built assistant, or more simply by pasting in exported reports. The safe way is to have every person reach Spire with their own Spire login, keep the AI read-only unless a human confirms each change, and decide in advance which data never leaves your building.

Spire does not ship one AI engine, on purpose

Spire has been clear about its approach. In its post Work Smarter, Not Harder: Practical Ways to Get More from Spire Every Day, Spire says that instead of putting one AI engine directly into the ERP, its open API lets organizations connect the AI platform or agent that works best for them, whether that is a commercial solution, a custom-built assistant, or one built by a Spire Integration Partner.

That leaves the choice, and the responsibility, with you. The good news is that the building blocks are documented. The Spire REST API reference states that the API uses HTTP Basic authentication “using an active user account for the current company,” and the API covers customers, inventory, sales, purchasing, AR, AP, the general ledger, production and payroll (see the developer site index). Anything an AI tool does in Spire happens through that API as a Spire user.

The four ways to connect AI to Spire

Option How it works Good for Watch out for
Copy, paste and exports Run a Spire report, export to Excel or CSV, upload or paste into the AI tool One-off analysis, trying AI with no setup Data leaves Spire in full, no permissions, stale the moment you export
Custom integration on the REST API A developer writes code that calls Spire and sends selected results to an AI model A single well-defined job, such as summarizing open orders each morning You own the code, the hosting and every security decision
An MCP server A small service exposes Spire lookups and actions as “tools” that ChatGPT, Claude or Copilot can call Letting staff ask questions from the AI app they already use Easy to give the AI far more access than anyone intended
A purpose-built assistant A product built for Spire handles the connection, permissions and data filtering Teams that want answers without building and maintaining it Licence cost, and you are trusting a vendor’s design

Copy, paste and exports

This is where most people start, and for a quick look at a sales report it is fine. The problems show up later. Whoever exports the data sees everything in that report, the file often sits in a downloads folder, and nobody can say afterwards what went to the AI provider. If you go this route, strip customer names and anything personal before uploading, and use a business account rather than a personal one (more on that below).

A custom integration on the Spire REST API

A developer can write a small program that pulls specific data from Spire, sends it to an AI model through the provider’s API, and returns an answer or a draft. This works well for narrow, repeatable jobs. It is real software that needs maintaining through Spire upgrades. Our custom development team builds these, and so do other Spire partners.

An MCP server

The Model Context Protocol is an open-source standard for connecting AI applications to outside systems. Claude and ChatGPT both support it, and Microsoft documents how to extend a Copilot Studio agent with MCP. An MCP server for Spire would sit between the AI app and the Spire REST API and offer a defined list of tools, such as “look up customer balance” or “list late purchase orders.”

This is the most flexible option and the one that needs the most care. Microsoft’s own page notes that when you connect to an external MCP server, you are responsible for the tools and resources you access. The MCP project publishes security best practices worth handing to whoever builds it.

A purpose-built assistant

The fourth option is a product designed specifically for Spire, where the vendor has already made the decisions in the checklist below. It is not always the right answer: if you only need one scheduled summary, a small custom integration may cost less.

The safety checklist

Whichever route you choose, work through these questions before going live.

1. Per-user Spire logins, not a shared admin account

The single most common mistake is connecting the AI with one powerful Spire account that everyone shares. That means a warehouse clerk can ask about payroll and get an answer, and your Spire logs show one user doing everything.

Because the Spire API authenticates as a Spire user, the AI tool should sign in as the person asking. Then Spire’s existing user permissions decide what each person can see and change, and you do not have to rebuild security inside the AI tool.

2. Read and write are separate decisions

Reading data and changing data carry very different risk. Start read-only. Answering “which customers are over 60 days?” cannot damage anything. Changing credit limits, terms, prices or orders can.

If you do allow writes, list exactly which ones. “Update a customer’s terms” is a reasonable tool. “Run any API call” is not.

3. A human confirms before anything is written

AI models can misread a request or pick the wrong record. Any change to Spire should be shown to the user first, in plain terms (which record, which field, old value, new value), and only applied after they confirm. Spire’s own post compares AI to a very fast employee that still needs supervision.

4. Know what data goes to the AI provider

When an AI answers a question about your Spire data, some of that data is sent to the provider’s servers. Find out what is sent, where it is processed, how long it is kept and whether it can be used for training.

Terms differ by product and plan. For example, Anthropic says that by default it does not use inputs or outputs from its commercial products for training, while consumer plans are covered by separate terms. Check the current business terms for whichever tool you use, and make sure staff are not pasting company data into personal accounts. If you have privacy obligations to customers or employees, confirm with your privacy advisor or lawyer that the setup meets them.

5. Keep payroll and other sensitive data out

Spire’s API includes payroll, which means Social Insurance Numbers, banking details and pay rates are reachable unless you block them. Decide which fields must never leave Spire and remove them before anything reaches the AI, rather than relying on the AI to ignore them. The simplest rule for most companies: no payroll data goes to an AI tool at all unless there is a specific, approved reason.

6. Log every question and every action

You should be able to answer “who asked what, and what changed?” months later. At a minimum, log the user, the time, the request and any write made to Spire.

7. Check whether the AI can reach your Spire server

Where Spire runs changes the design.

  • On-premise Spire. The Spire server usually sits on your office network, and the API listens on port 10880 by default according to the API reference. Cloud AI services cannot reach it from the internet, and they should not be able to. Do not open that port to the world to make an AI tool work. Instead, run the connector inside your network or reach Spire over a secure, restricted connection.
  • Spire Cloud or hosted Spire. The server is reachable over the internet, which makes connecting easier but makes per-user logins and HTTPS even more important. Confirm with Spire or your hosting provider how API access is set up for your company. Our managed hosting page covers how we handle this for hosted clients.

When to slow down

Not every company should connect AI to Spire this year. If your Spire user permissions are loose, everyone shares logins, or your data has known quality problems, fix those first. An AI tool will repeat whatever your data and permissions allow, faster.

Where GEMAI fits

GEMAI is our purpose-built assistant for Spire, and it is one option among the four above. Each person signs in with their own Spire login, so it can only see and change what they already can. When asked to make a change, it shows exactly what will change, and nothing is written to Spire until the user confirms. SINs and banking details are removed before anything reaches the AI, every action is logged by user, and it runs with on-premise Spire or Spire Cloud. If you would rather build your own MCP server or integration, we can help with that too. See also AI in Spire ERP: Three Tools That Are Actually in Production.

Next step

If you are weighing which route makes sense for your Spire setup, or you want a second opinion on an AI connection someone has already built, get in touch. As a Spire Authorized Partner and Reseller, we can walk through the checklist with your data and your permissions.

Keep reading

Want help with this in your own business?

Talk to the team that wrote it. A free consultation, no slides.