# Missing provider

Learn how to configure the Croct provider.

If you use the [`useCroct`](/reference/sdk/hydrogen/api/hooks/use-croct) hook outside the context of a [`<CroctProvider>`](/reference/sdk/hydrogen/api/components/croct-provider) component, you will see the error below:

> **Error**
>
> `useCroct()` can only be used in the context of a `<CroctProvider>` component.

This means the SDK is not initialized on the client. To resolve it, wrap your app in the provider as described in the [provider setup](/reference/sdk/hydrogen/manual-installation#initialize).
