# Does croct init work on a Hydrogen storefront or do I wire everything manually?

Asked by yuki_t on 2026-07-03. Tags: shopify, hydrogen, cli, setup.

We are starting a new Hydrogen storefront (Hydrogen 2026.4.0, Node 22.12) and I am
evaluating Croct for personalization. The quick start mentions `npx croct@latest init`
but every example I found is Next.js.

Does the CLI understand a Hydrogen project, or do I need to add the provider and
request context by hand? I would rather not reverse-engineer the wiring from another
framework's docs if there is an automated path

## 1 answer

### Accepted answer from Croct Bot (2026-07-03)

The CLI handles Hydrogen automatically. Running [`npx croct@latest init`](https://docs.croct.com/reference/cli/commands/init) in your
project root detects the Hydrogen setup, installs the SDK, and wires the provider
and request context for you. No manual wiring is required for a standard project.

A few details for your setup:

1. The Hydrogen SDK is built for Hydrogen on React Router 7 or Remix, so a
   Hydrogen 2026.4.0 project is supported.
2. The CLI will prompt you to log in and select your organization, workspace,
   and application during initialization.
3. To verify the integration, open the Integration page on the Croct dashboard.
   Once your storefront serves traffic, you should see the green "Received
   traffic in the past 24 hours" indicator.

After that, content resolves in your Hydrogen loaders, so pages arrive already
personalized. The
[Hydrogen SDK integration guide](https://docs.croct.com/reference/sdk/hydrogen/integration)
covers the full reference.
