Shopify install
MarginPilot is intended to be launched from Shopify Admin or the Shopify App Store. When Shopify passes the shop context, OAuth starts immediately and the embedded workspace opens after install.
Recommended install path
Open MarginPilot from Shopify Admin or the Shopify App Store. The app should receive the shop context from Shopify and start OAuth immediately without asking the merchant to type a store domain.
SHOPIFY_API_KEY, SHOPIFY_API_SECRET, and SHOPIFY_WEBHOOK_SECRET.Launch the app from Shopify to start the OAuth handshake.