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

# Flexport

> Connect BonData to Flexport for freight, shipment, and logistics data

Flexport is a freight forwarding and logistics platform that gives shippers end-to-end visibility into ocean, air, and ground shipments, bookings, and customs across their supply chain. With BonData, you can connect to your Flexport account to read, enrich, and sync your logistics data within Agent workflows.

## Flexport API Token Setup

BonData connects to Flexport using an API token, sent as a Bearer token on every request.

### Step 1: Open API Settings

1. Log in to [Flexport](https://www.flexport.com/)
2. Click your account menu and go to **Settings**
3. Select **API Tokens**

### Step 2: Generate an API Token

1. Click **Create Token** (or **New Token**)
2. Enter a name (for example `BonData`) and select the appropriate access scope
3. Click **Create**

### Step 3: Copy the Token

1. Flexport displays the **API Token** once on creation
2. **Copy it immediately** - it will not be shown again

<Tip>
  Flexport uses the same token for its sandbox and production environments only when explicitly enabled. Confirm you are generating the token in the environment BonData should connect to.
</Tip>

### Step 4: Enter Credentials in BonData

1. In BonData, navigate to **Integrations** and select **Flexport**
2. Enter your **API Token**
3. Click **Connect**

## Required Fields

| Field     | Description                                              |
| --------- | -------------------------------------------------------- |
| API Token | Bearer token generated in Flexport Settings → API Tokens |

## Available Data

Once connected, BonData can sync the following Flexport records:

* **Shipments** - Shipments with mode, milestones, and status
* **Bookings** - Booking requests and their confirmation status
* **Products** - Product catalog records and specifications
* **Purchase Orders** - Purchase orders and their fulfillment status
* **Invoices** - Freight and services invoices with line items
* **Containers** - Containers and their contents and tracking
* **Documents** - Shipment documents such as bills of lading and customs paperwork
* **Tracking Events** - Milestone and location tracking events for shipments
