# Magento connector

> Connect Magento to Windsor.ai: 218 fields in 4 tables, and how to query them or send them to a destination.

The Magento connector pulls your Magento data into Windsor.ai. You can query it with one API, send it to a destination, or ask about it in Claude or ChatGPT.

## Connect Magento

1. Open [Magento in Windsor.ai](https://onboard.windsor.ai/app/magento) and sign in.
2. Authorize Magento, or enter the credentials that the screen asks for.
3. Select the accounts to include.

## Available data

218 fields in 4 tables.

| Table | Fields | Examples |
| --- | --- | --- |
| order | 110 | Order Applied Rule Ids, Order Base Currency Code, Order Base Discount Amount, Order Base Discount Invoiced, Order Base Discount Tax Compensation Amount |
| order_item | 75 | Order Item Amount Refunded, Order Item Applied Rule Ids, Order Item Base Amount Refunded, Order Item Base Cost, Order Item Base Discount Amount |
| Other | 21 | Account Id, Account Name, Data fetched at, Data Source, Date |
| catalog_product | 12 | Catalog Product Category Ids, Catalog Product Category Names, Catalog Product Created At, Catalog Product Is In Stock, Catalog Product Name |

The full list, with the type and description of each field, is at `https://connectors.windsor.ai/magento/fields`.

## Query the data

Request fields by their IDs. For example:

```url
https://connectors.windsor.ai/magento?api_key=YOUR_API_KEY&fields=date,order_applied_rule_ids,order_base_currency_code&date_preset=last_7d
```

## Next steps

- [Send the data to a destination](https://windsor.ai/documentation/destinations/index.md), such as Looker Studio, Google Sheets or BigQuery.
- [Connect Windsor.ai to Claude or ChatGPT](https://windsor.ai/documentation/mcp/index.md) and ask about your Magento data.
- [Fix a connection problem](https://windsor.ai/documentation/troubleshooting/index.md).
