The Sage Intacct AI Gateway enables secure, AI-powered access to your Sage Intacct data. Whether you're a business analyst looking for faster insights, a developer building integrations, or an IT administrator evaluating connectivity options, it provides flexible access methods that fit your workflow.

You can connect to Sage Intacct data through two methods: the REST APIs or the Model Context Protocol (MCP) Server. Neither method is required to come before the other - the right choice depends on what you are trying to accomplish.

The MCP Server is optimized for AI interactions, allowing LLMs to explore data structures and perform read-only queries. This makes it ideal for discovery, reporting, AI assistants, and integration design workflows.

Note: The MCP Server currently provides **read-only access** to Sage Intacct data and object metadata.

## High-level architecture

In this model, the AI application retrieves data or metadata from Sage Intacct first. The results are then passed to a large language model (LLM) to analyze, summarize, or generate useful artifacts.

![](https://assets.devx.sage.com/assets/intacct/images/ai-gateway-architecture.png)

## Access methods

Two primary methods are available for accessing Sage Intacct data through the AI Gateway:

* REST APIs
* Model Context Protocol (MCP) Server

### REST APIs

REST APIs provide structured, programmatic access to Sage Intacct data. The REST API is typically used when building external applications or integrations that require deterministic queries and predictable responses.

### Sage Intacct MCP Server

The MCP Server exposes Sage Intacct objects, fields, and queries using the Model Context Protocol. This allows AI tools, such as Claude Desktop or custom MCP clients, to explore Sage Intacct data structures and perform read-only queries optimized for LLM interaction.

With the MCP Server, you can access core financial areas, including Accounts Payable, Accounts Receivable, Cash Management, General Ledger, Purchasing, and Order Entry.

***

## Get started with the AI Gateway

This section outlines a recommended approach for engaging with the Sage Intacct AI Gateway when designing and building AI-powered applications or integrations.

### Step 1: Choose an AI application environment

Start by selecting the AI environment that will interact with Sage Intacct data. This may include:

* An AI assistant or chat-based interface
* A custom AI service or agent
* An MCP-capable desktop or development tool

The environment you choose should be able to send structured requests and consume structured responses generated by a large language model (LLM), for example, a custom application or development environment.

### Step 2: Connect to Sage Intacct

Connect your AI application to Sage Intacct using one or both of the following access methods:

* Sage Intacct MCP Server\
  For MCP Server access, follow the connection instructions in the [MCP Setup and Connection Guide](/intacct/docs/ai/1/mcp-setup-and-connection-guide).

* Sage Intacct REST APIs\
  For REST API access, follow the authentication setup instructions in the [REST API Quick Start](/intacct/docs/1/sage-intacct-rest-api/get-started/quick-start).

### Step 3: Retrieve object metadata or query records

Once you are connected, for example, to the MCP Server using Claude Desktop:

* Use natural-language prompts to generate insights or summaries about Sage Intacct data.
* Discover Sage Intacct objects and fields dynamically.

See [How do I use the AI Gateway?](#how-do-i-use-the-ai-gateway) for example prompts and interaction patterns.

### Step 4: Use the results to generate insights, summaries, or development artifacts

Use the retrieved metadata or records from the preceding step to generate useful outputs with the LLM, such as:

* Additional natural-language insights and summaries
* REST API queries or code snippets
* Field mapping suggestions
* Integration design artifacts
* Validation or testing checklists

### Step 5: Use the generated outputs to power your application workflow

The generated outputs from the LLM can be used to power various application workflows, such as AI-powered data assistants, integration builders, or developer copilots.

To learn more about how to power your application workflows, see the [Example use case](#example-use-case), which illustrates a practical application of the AI Gateway.

***

## How do I use the AI Gateway?

When you connect to Sage Intacct through the AI Gateway, you can use natural language prompts to explore metadata, query data, and generate insights or artifacts. The following sections provide examples of how to use the AI Gateway for different purposes.

### Data exploration

Connect an MCP-capable AI client to the Sage Intacct MCP Server to explore object schemas, inspect available fields, and run read-only queries.

### Artifact generation

AI can read object metadata and sample records through MCP and automatically generate implementation artifacts such as:

* API query templates
* Data mapping spreadsheets
* Integration configuration files
* Validation checklists
* Testing scenarios

### AI-powered data assistants

Develop external AI assistants that retrieve Sage Intacct data and generate natural language insights such as vendor summaries, spending snapshots, or operational highlights.

### AI-assisted integration builders

Allow users to describe an integration in natural language. The AI reads object schemas through MCP and generates recommended objects, fields, and query templates.

### Developer copilots

Create developer-facing assistants that inspect Sage Intacct metadata and recommend REST queries, field selections, filters, and integration patterns.

### Example prompts

These are example prompts you can use with an LLM connected to the Sage Intacct MCP Server:

* Show me the available fields on the vendor object.
* Generate a query that returns vendor ID and name.
* Create a mapping template to export vendor data to a CRM system.
* Explain what each field on the invoice object represents.
* Generate a validation checklist for importing vendor master data.

***

## Example use case

The following example illustrates how you can use the Sage Intacct AI Gateway to speed up a common business workflow.

### Use case: Artist consignment workflow

This use case demonstrates how you can use the Sage Intacct AI Gateway to identify a particular set of vendors, determine the payout amount for each, and then generate the necessary Accounts Payable bills.

Using the AI Gateway, you can significantly reduce the time and expertise required to complete this workflow by automating the discovery, calculation, and bill generation steps based on natural language prompts and AI-generated insights.

#### Problem Statement

Our company operates a music retail business. A subset of the vendors we deal with are independent artists who consign their work to our retail outlet. Per our agreement, these consignment artists receive 70% of their sales each month. We need to create bills in Sage Intacct to pay the artists.

Each month, we manually cross-reference AR invoices, calculate each payout, and create AP bills one by one for each of these vendors. This process can be time-consuming and error-prone, especially as the number of artists grows.

#### AI solution steps

Instead of a manual process, use the Sage Intacct AI Gateway to connect to the Sage Intacct MCP Server using Claude Desktop or another MCP-capable client. Complete the following steps through natural language prompts:

1. Query vendors to find the subset of consignment artists.
2. Match AR invoice lines to consignment artist vendors to determine sales amounts.
3. Calculate settlement amounts for each artist based on their sales.
4. Generate a preview of the Accounts Payable bills, including the GL account to be used and a description field that references the related AR invoices.
5. After reviewing the proposed bills, issue a prompt to create a REST API request to generate the AP bills in Sage Intacct.
6. Since MCP is read-only, copy the generated request and use a tool like Postman or curl to execute it against Intacct REST API to create the bills.

## AI gateway best practices

* Use MCP for discovery and REST APIs for deterministic integrations.
* Start with schema exploration before building queries.
* Keep queries focused and incremental.
* Avoid exposing access tokens in AI prompts.
* Treat MCP responses as read-only reference data.