# Square connector

> Connect Square to Windsor.ai: 214 fields in 18 tables, and how to query them or send them to a destination.

The Square connector pulls your Square 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 Square

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

## Available data

214 fields in 18 tables.

| Table | Fields | Examples |
| --- | --- | --- |
| payments | 30 | payments.amount_money, payments.amount_money.amount, payments.amount_money.currency, payments.approved_money, payments.approved_money.amount |
| orders | 26 | orders.closed_at, orders.created_at, orders.customer_id, orders.discounts, orders.fulfillments |
| locations | 22 | locations.address, locations.business_email, locations.business_hours, locations.business_name, locations.capabilities |
| customers | 17 | customers.address, customers.birthday, customers.cards, customers.company_name, customers.created_at |
| bank_accounts | 13 | bank_accounts.account_number_suffix, bank_accounts.account_type, bank_accounts.bank_name, bank_accounts.country, bank_accounts.creditable |
| shifts | 13 | shifts.breaks, shifts.created_at, shifts.employee_id, shifts.end_at, shifts.id |
| team_members | 11 | team_members.assigned_locations, team_members.created_at, team_members.email_address, team_members.family_name, team_members.given_name |
| items | 10 | items.custom_attribute_values, items.id, items.image_id, items.is_deleted, items.item_data |
| refunds | 10 | refunds.amount_money, refunds.created_at, refunds.id, refunds.location_id, refunds.order_id |
| cash_drawers | 9 | cash_drawers.closed_at, cash_drawers.closed_cash_money, cash_drawers.description, cash_drawers.ended_at, cash_drawers.expected_cash_money |
| discounts | 8 | discounts.discount_data, discounts.id, discounts.is_deleted, discounts.present_at_all_locations, discounts.present_at_location_ids |
| loyalty | 8 | loyalty.balance, loyalty.created_at, loyalty.customer_id, loyalty.id, loyalty.lifetime_points |
| taxes | 8 | taxes.absent_at_location_ids, taxes.id, taxes.is_deleted, taxes.present_at_all_locations, taxes.tax_data |
| categories | 7 | categories.category_data, categories.id, categories.is_deleted, categories.present_at_all_locations, categories.type |
| modifier_list | 7 | modifier_list.id, modifier_list.is_deleted, modifier_list.modifier_list_data, modifier_list.present_at_all_locations, modifier_list.type |

3 more tables are in the field list.

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

## Query the data

Request fields by their IDs. For example:

```url
https://connectors.windsor.ai/square?api_key=YOUR_API_KEY&fields=payments__amount_money,payments__amount_money__amount,payments__amount_money__currency
```

## 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 Square data.
- [Fix a connection problem](https://windsor.ai/documentation/troubleshooting/index.md).
