docs(shopify): migrate setup to CLI; add feature flag + Rails console steps #553
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Updates the self-hosted Shopify integration docs to reflect Shopify’s CLI-managed app configuration, clarifies visibility conditions, and adds concrete steps to enable the feature in Chatwoot.
Why
Shopify migrated app configuration from the Partner Dashboard to CLI-managed config (config-as-code). The existing doc showed outdated dashboard steps. The new flow aligns with current Shopify guidance and reduces setup confusion.
What changed
shopify app init).shopify.app.tomlexample with placeholders and required callback.shopify app deploy).SHOPIFY_CLIENT_IDandSHOPIFY_CLIENT_SECRETin Super Admin.FRONTEND_URLrequirement and service restart note.shopify_integrationvia Rails console, with snippet to open the console and findAccount.first.id.Affected doc
self-hosted/configuration/features/integrations/shopify-integration-setup.mdxHow to test
shopify app init.shopify.app.toml:application_urlandauth.redirect_urlsto your Chatwoot domain and<domain>/shopify/callback.shopify app deployhttps://dev.shopify.com/dashboard→ Apps → your app → Settings.SHOPIFY_CLIENT_IDandSHOPIFY_CLIENT_SECRET.FRONTEND_URL=https://<your-domain>is set at the web process; restart service.Account.first.id→account = Account.find(<ID>)account.enable_features!("shopify_integration")References