Saw Croct in the Strapi integrations directory, is it an actual plugin or something else?
Hi all! I was browsing the official Strapi integrations directory and came across the Croct listing there.
It talks about adding personalization and A/B testing on top of dynamic zones, which is exactly what we have been looking for. But when I went to the marketplace tab in our Strapi admin to install it, there is nothing there. No plugin to install.
So how does this integration actually work under the hood? Is there a package I add to the Strapi project itself, or am I looking in teh wrong place entirely?
1 answer
You are looking in the right directory but the wrong place for the install. The listing in the Strapi integrations directory is official, but the integration is not an admin plugin, which is why the marketplace tab shows nothing.
Here is how it works architecturally: the Croct SDK runs in your frontend application, not inside Strapi. You map the components and dynamic zones your app already renders to Croct slots in your frontend code. Croct then decides which variant to serve for each visitor, and your Strapi content stays as the default fallback whenever no experience applies. Nothing changes on the Strapi side, and there is zero content migration.
Setup is scaffolded from the frontend project:
npx croct@latest initThe init command wires up the SDK for your framework and generates the slot type definitions. After that, each section you want to personalize is one slot mapping in the component that renders it. See the Strapi integration guide for the full walkthrough.
That makes so much more sense, I was hunting for a plugin that does not exist. Ran the init in our Next.js app and the first slot is already rendering. Thanks!