Setup checklist
- Deploy the backend Worker and D1, then deploy this Pages site with the
BACKENDservice binding. - Protect the dashboard hostname with Cloudflare Access and verify unauthenticated users are blocked.
- Create/configure the Shopify app. Set the app URL to this dashboard and the redirect/callback URL to
/api/shopify/callback. - Use only the required scopes:
read_products, read_inventory, write_inventory. - Store
SHOPIFY_CLIENT_ID,SHOPIFY_CLIENT_SECRETandAPP_ENCRYPTION_KEYas Worker secrets; never paste them into source code. - Accept the acknowledgement, connect Shopify, add feeds, test them, create mappings and run a dry-run.
- Enable scheduled live sync only after the dry-run has been reviewed.
Checking backend configuration…