> ## Documentation Index
> Fetch the complete documentation index at: https://equatetravel.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Connectors

> Reusable connections to the places invoices come from and results go to — inbound email, Gmail, FTP/SFTP, webhooks, your database or booking API.

A **connector** is a connection to somewhere outside equate — an email inbox, a file
folder, your booking system, a webhook endpoint. Set one up once and reuse it across
[booking data](https://equatetravel.ai/docs/guides/booking-data.md) and [pipelines](https://equatetravel.ai/docs/guides/pipelines.md). Credentials are
encrypted at rest and never shown again once saved.

## Directions

Every connector has a direction — what it's for:

| Direction | Meaning |
| - | - |
| **In** | Brings invoices in (inbound email, Gmail, FTP). |
| **Out** | Sends results out (webhook, FTP upload). |
| **In & out** | Does both (FTP/SFTP). |
| **Lookup** | Reads booking data live at match time (database, booking API). |

The direction is about invoices and results. Some connectors also carry **booking
data**: an FTP/SFTP server takes your booking system's scheduled export as a
[booking data feed](https://equatetravel.ai/docs/guides/booking-data.md), and a system that can only email a
report sends it to a [booking data address](https://equatetravel.ai/docs/connectors/booking-data-email.md). The
"Booking data" filter on the Connectors page and in the connector library lists
every connector that can supply it, whichever direction it shows.

## Ready to use

Two connectors are built in and need no setup:

> [card] Inbound email
>
> equate provisions a unique address for your workspace. Forward supplier invoices
> to it and they're ingested automatically — no credentials needed.

> [card] REST API
>
> Push invoices straight into equate from your own systems via
> `POST /api/v1/invoices`, authenticated with an [API key](https://equatetravel.ai/docs/guides/api-keys.md).

> [!NOTE]
>
> If several suppliers share one forwarded inbox, turn on **Mixed inbox** on the inbound
> email connector — equate triages each message by sender and content. An **Ignored
> emails** view shows anything it chose to skip.

## Creating a connector

Under **Connectors → New connector**, the wizard starts from what you're trying to do:

**1. Goal**

Pick the intent: **Bring invoices in**, **Connect booking data** (hands off to the
[booking data](https://equatetravel.ai/docs/guides/booking-data.md) flow), or **Send results out**.

**2. Choose**

Pick the connection type for that goal — or **browse the marketplace** for prebuilt
connectors.

**3. Name it**

Anything you'll recognise later, e.g. *Finance webhook*. (Skipped for Gmail —
sign-in names it for you.)

**4. Details, test, create**

Fill in the connection details, then **Test connection** before saving. equate
reports success or the exact failure.

> [!TIP]
>
> Not the right person to fill in the credentials? Use **Save & send invite** in the
> wizard to hand the half-finished connector to a colleague — they get a link to finish
> the setup. (Not available for Gmail, which requires the account owner to sign in.)

## Connection types

The essentials of each type are below — every one also has a dedicated setup guide:

> [card] [Inbound email](https://equatetravel.ai/docs/connectors/inbound-email.md)
>
> Forwarding, supplier routing, and mixed-inbox triage.

> [card] [Gmail](https://equatetravel.ai/docs/connectors/gmail.md)
>
> OAuth sign-in and the processed label.

> [card] [FTP / SFTP](https://equatetravel.ai/docs/connectors/ftp-sftp.md)
>
> Protocols, credentials, folder browsing and server setup.

> [card] [REST API](https://equatetravel.ai/docs/connectors/rest-api.md)
>
> Pushing invoices in programmatically.

> [card] [Webhook](https://equatetravel.ai/docs/connectors/webhook.md)
>
> Payloads, signing and retries.

> [card] [Database lookup](https://equatetravel.ai/docs/connectors/database-lookup.md)
>
> Views, indexing and replicas for live booking lookups.

> [card] [Booking API lookup](https://equatetravel.ai/docs/connectors/booking-api.md)
>
> REST lookups by reference at match time.

### Gmail

Authorise a mailbox with Google OAuth — no passwords stored. By default equate applies
an **Invoice Processed** label to each handled email (toggle **Apply processed label**
off if you don't want that), so you can see at a glance in Gmail what's been ingested.

### FTP / SFTP

Choose the protocol (**SFTP**, **FTPS** or **FTP**), then host, port and credentials.
Where the connector is used — a [booking data feed](https://equatetravel.ai/docs/guides/booking-data.md) or a
[pipeline input](https://equatetravel.ai/docs/guides/pipelines.md) — equate connects and lets you **browse the server's
folders** to pick the directory to watch, so there's no guessing at paths.

### Webhook

A delivery endpoint: the URL to POST results to, how it **authenticates** us (an API-key
header, a bearer token, basic credentials, or OAuth 2.0 client credentials for Cognito /
Auth0 / Entra) and a **signing secret** so your endpoint can verify each payload came from
equate and isn't a replay. The secret can be rotated at any time with an overlap window.
See the [webhook contract](https://equatetravel.ai/docs/connectors/webhook.md).

### Database (lookup)

Reads bookings from your PostgreSQL, MySQL / MariaDB or Microsoft SQL Server / Azure SQL
database live at match time. Pick the database type, point it at the host,
database, schema and table, then tell equate which columns hold the **booking
reference**, and optionally the **supplier** and **total** for stronger matching. A
**fuzzy match** toggle tolerates near-miss references.

### Booking API (lookup)

Calls your REST API by reference at match time: base URL, auth (none, API-key header,
bearer, basic, or OAuth 2.0 client credentials for Cognito / Auth0 / Entra), method, and a lookup path with a `{reference}` placeholder — e.g.
`/bookings/{reference}` — an optional find-by-amount path (see [booking API](https://equatetravel.ai/docs/connectors/booking-api.md#the-endpoints-equate-calls)), plus JSON paths telling equate where the reference, supplier
and total live in the response.

## Security on every connector

Each form has an **Additional security** section for the controls a review asks about:
SSH keys and host-key pinning for SFTP, certificate verification with your own CA for a
database, OAuth client credentials for APIs and webhooks, signed and rotatable webhook
secrets. What is always on (encryption at rest, address checks, audit) and how each
credential is rotated is written up in [connector security](https://equatetravel.ai/docs/connectors/security.md).

## Who can manage connectors

Connectors and booking-data sources are **integration** work: members with the
**Admin**, **Manager** or **Technical** role can manage them. See
[members & roles](https://equatetravel.ai/docs/guides/members-and-roles.md).

> [card] [Next: connect your booking data](https://equatetravel.ai/docs/guides/booking-data.md)
>
> The bookings equate matches invoices against — live from your database, or uploaded.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.