# Missing provider

Learn how to configure the Croct provider.

If you try to use the [`useCroct`](/reference/sdk/react/api/hooks/use-croct) hook outside the context of a [`<CroctProvider>`](/reference/sdk/react/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 indicates that the SDK is not properly initialized. To resolve this issue, follow the steps for [initializing the SDK](/reference/sdk/react/manual-installation#initialize).
