Setup

Discover the functions that wire the SDK into your Hydrogen server.

Croct's mascot winking
Looking for something specific?

Use the search bar at the top of the page or press / to quickly search through the documentation.

Use the summary below to quickly jump to a specific topic:

PageDescription
createCroctMiddlewareLearn how to expose the Croct visitor context to your loaders and actions.
createCroctContextLearn how to resolve the Croct visitor context in Remix Hydrogen apps.
writeCroctCookiesLearn how to persist the visitor cookies on the response.
croctLearn how to configure the Croct Vite plugin.