Can I manually set Shopify permissions for Mechanic?
Mechanic offers two ways to manage Shopify permissions for your tasks:
Automatic detection from previews β Mechanic analyzes the actions your task generates during preview to infer which scopes it needs.
Explicit declaration with {% permissions %} β You can declare the exact scopes your task needs directly in your task code.
Both approaches are fully supported. See Permissions for a full overview.
Having trouble getting your permissions and previews to line up? Try asking in our community Slack workspace. Sharing your task code there is a good way to get suggestions about how to move forward. :)