> ## 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.

# Plex

> Connect BonData to Rockwell Plex for manufacturing, inventory, and production data

Plex is Rockwell Automation's cloud-based smart manufacturing platform, combining ERP and MES to manage parts, inventory, production, and quality across discrete and process manufacturers. With BonData, you can connect to your Plex account to read, enrich, and sync your manufacturing data within Agent workflows.

## Plex API Key Setup

BonData connects to Plex through its REST and Data Source APIs, authenticating with an API key scoped to your customer account.

### Step 1: Find Your Customer ID

1. Log in to Plex
2. Your **Customer ID** (PCN) identifies your Plex account and facility
3. Note this value - it is sent with every API request to route it to the correct account

### Step 2: Create an API Key

1. In the Plex UI, open the **Web Services / Developer Portal** (or work with your Plex administrator)
2. Register an application for BonData and request access to the REST and Data Source APIs
3. Generate an **API Key** for the integration

### Step 3: Assign Data Source Access

1. Ensure the API key's account has access to the data sources you plan to use (for example inventory, production, and part data sources)
2. Confirm the account has read permissions for each area

<Note>
  Plex separates its modern REST APIs from the legacy Data Source (SOAP/JSON) APIs. BonData can use either; API key and Customer ID authentication applies to both.
</Note>

### Step 4: Enter Credentials in BonData

1. In BonData, navigate to **Integrations** and select **Plex**
2. Enter your **API Key** and **Customer ID**
3. Click **Connect**

## Required Fields

| Field       | Description                                                           |
| ----------- | --------------------------------------------------------------------- |
| API Key     | API key generated for the BonData integration                         |
| Customer ID | Your Plex Customer ID (PCN) that identifies your account and facility |

## Available Data

Once connected, BonData can sync the following Plex records:

* **Parts** - Part master records with specifications and status
* **Inventory** - Inventory balances by part, location, and lot
* **Production Orders** - Production orders and their status
* **Work Centers** - Work center definitions and capacity
* **Containers** - Container and serial records tracked on the floor
* **Customers** - Customer master records and terms
* **Suppliers** - Supplier master records
* **Shipments** - Outbound shipments and their line items
