Setup
Discover the functions that wire the SDK into your Hydrogen server.
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:
| Page | Description |
|---|---|
| createCroctMiddleware | Learn how to expose the Croct visitor context to your loaders and actions. |
| createCroctContext | Learn how to resolve the Croct visitor context in Remix Hydrogen apps. |
| writeCroctCookies | Learn how to persist the visitor cookies on the response. |
| croct | Learn how to configure the Croct Vite plugin. |