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

# Shopify

> Orders, customers, and product state — the storefront source of truth.

Shopify is the source of truth for your orders, customers, and product catalog. Connecting Shopify is usually the first integration you wire up.

## What it unlocks

* **Order data on Home** — your live revenue rollup pulls from Shopify orders.
* **The COD-confirm loop** — the Voice agent reads new cash-on-delivery orders from Shopify and places confirmation calls (see **Cockpit → Loops**).
* **Funnel queries in Ask** — Ask can answer "what was conversion last Thursday?" against Shopify order events.
* **Catalog signals for Creative and Social** — product names, descriptions, and images become available to the asset-drafting agents.

## Scopes requested

Shopify connects per-store via the Shopify App OAuth flow. The scopes Mesh Pilot requests are read-only on customer and order data plus the minimum needed to surface catalog state. We do not request write scopes on Shopify today — order state, fulfillment, and inventory are not mutated from the cockpit.

## Where data flows

* **Shopify → cockpit (read-only):** orders, customers, products, fulfillment status. Cached for fast cockpit rendering; refreshed continuously.
* **Cockpit → Shopify:** none. Shopify is read-only in v1.

## Token lifetime

Shopify offline tokens don't expire. The connection stays live until the store uninstalls the Mesh Pilot app or you click **Disconnect** in Settings → Integrations.

<Card title="Connect Shopify" icon="arrow-right" href="https://meshpilot.app/dashboard/settings">
  Open Settings → Integrations.
</Card>
