Running into an error about user access upon installing Hydrogen

Topic summary

Issue: Initializing a Hydrogen project after logging into a Shopify store fails with “Access denied for hydrogenStorefrontCreate” from the Admin GraphQL API (HTTP 200). The error states the user must have full access to apps or access to the Hydrogen channel. The store owner/admin reports no available settings to grant this.

Scope/terms: Admin GraphQL API = Shopify’s admin interface for managing store resources via GraphQL (a query language/API). Hydrogen = Shopify’s custom storefront framework. Storefront API tokens = credentials to access storefront data.

Workaround (confirmed):

  • Create the project choosing “Use sample data from Mock.shop (no login required).”
  • Then edit the project’s .env to add PUBLIC_STORE_DOMAIN, PUBLIC_STOREFRONT_API_TOKEN, and PRIVATE_STOREFRONT_API_TOKEN from the store’s Storefront API settings (docs link provided; later corrected).

Outcome: The workaround enabled the original poster to run and preview their storefront.

Unresolved: Root cause/permission path for hydrogenStorefrontCreate access remains unclear; no official fix or admin setting identified.

New report: Another user’s CLI command does not run despite latest Node/npm; a screenshot was attached. A corrected docs URL was shared.

Status: Partially resolved via workaround; permission/CLI issues remain open.

Summarized with AI on January 1. AI used: gpt-5.

Getting started with the Storefront API (shopify.dev)

corrected url