Env Values

Required For Admin

ValueDescription
SHOPIFY_APP_URLThe url to your store (no https://)
SHOPIFY_ADMIN_TOKENThe Admin API access token you received when generating your app
SHOPIFY_AUTH_KEYThe Admin API key found when creating your private app
SHOPIFY_AUTH_PASSWORDThe Admin API password found when creating your private app

Required For Frontend

If you are using the JavaScript publishable in the addon you'll need to set the following.

ValueDescription
SHOPIFY_APP_URLThe url to your myshopify.com store (no https://)
SHOPIFY_STOREFRONT_URLThe custom url to your store if you have one (no https://)
SHOPIFY_STOREFRONT_TOKENFound when enabling the Storefront API whilst creating your private app

Required For Webhooks

If you are using the webhook handlers you'll need the following.

ValueDescription
SHOPIFY_WEBHOOK_SECRETFound when creating your first notification. Read more about this here

Optional

These allow you to tweak how the system works. Please check out the config/shopify.php for a full list of options.

ValueDescription
SHOPIFY_JOB_QUEUEThe queue to run the shopify jobs on. Allows you to set it to a different one than the default.
Edit this page on GitHub Updated at Mon, Nov 4, 2024