Katana

Katana

Let AI connect your sources for you

Skip the manual setup — run this in your project and the wizard auto-detects your databases and APIs and connects them to PostHog.

Learn more
PostHog Wizard hedgehog

Connect Katana to PostHog to sync your data into the PostHog data warehouse for analysis and modeling.

Enter your Katana API key to sync your Katana Cloud Inventory (MRP) data into the PostHog Data warehouse.

Generate an API key in Katana under Settings > API (an active API access add-on / Professional plan is required). The key is sent as a Bearer token and has read access to your factory's data.

Configuration

OptionTypeRequired
API keypasswordYes

Linking Katana to PostHog

  1. Go to the Data pipeline page in PostHog
  2. Click New source and select Katana
  3. Fill in the required configuration fields
  4. Click Next, select the tables you want to sync, and then press Import

Supported tables

TableDescriptionSync methodIncremental fieldPrimary key
products

Sellable/producible items in the factory, each with one or more variants.

Incremental, Full refreshupdated_at, created_at
materials

Raw materials and ingredients consumed by manufacturing orders.

Incremental, Full refreshupdated_at, created_at
variants

Individual SKUs of a product or material, carrying sales/purchase prices and barcodes.

Incremental, Full refreshupdated_at, created_at
services

Sellable services offered alongside physical products.

Incremental, Full refreshupdated_at, created_at
customers

Customers you sell to, including contact and billing details.

Incremental, Full refreshupdated_at, created_at
suppliers

Suppliers you purchase materials and products from.

Incremental, Full refreshupdated_at, created_at
sales_orders

Customer sales orders, including status, fulfillment and invoicing state.

Incremental, Full refreshupdated_at, created_at
purchase_orders

Purchase orders raised to suppliers for materials and products.

Incremental, Full refreshupdated_at, created_at
manufacturing_orders

Production orders that manufacture products from materials.

Incremental, Full refreshupdated_at, created_at
sales_returns

Returns raised against sales orders, with refund and restock status.

Incremental, Full refreshupdated_at, created_at
stock_adjustments

Manual stock corrections that increase or decrease on-hand quantities.

Incremental, Full refreshupdated_at, created_at
stock_transfers

Movements of stock between two locations.

Incremental, Full refreshupdated_at, created_at
stocktakes

Physical inventory counts and the adjustments they produce.

Incremental, Full refreshupdated_at, created_at
inventory_movements

Append-only log of every inventory movement created by Katana resources.

Incremental, Full refreshcreated_at
inventory

Current on-hand, committed and expected stock per variant and location. Full refresh only.

Full refresh
price_lists

Named price lists used for customer-specific pricing. Full refresh only.

Full refresh
locations

Warehouses and factories where stock is held and orders are fulfilled.

Full refresh
tax_rates

Tax rates applied to sales and purchase orders.

Full refresh