Installed Croct from the Vercel Marketplace, what did it actually set up?
hey all, I ship a little SaaS on Vercel solo. I clicked through the Croct integration on the Vercel Marketplace mostly out of curiosity (classic) and now my project has new environment variables I did not create.
So what did the integration actually configure? And more importantly what do I still have to do in code before anything personalizes? I have not touched my repo yet, half expecting magic, half expecting homework
1 answer
Half magic, half homework, you called it.
The Croct listing on the Vercel Marketplace is a one-click Next.js integration whose job is the plumbing: it creates the environment variables on your Vercel project automatically, which is what you are seeing. That is the part people usually get wrong by hand, so it is a useful click.
The homework is wiring the SDK in your code. Run:
npx croct@latest initfrom your repo. It sets up @croct/plug-next, the proxy export in middleware.ts, and the provider in your layout. Commit, push, let Vercel deploy.
To verify the whole chain works, open the Integration page in the Croct dashboard and look for the green "Received traffic in the past 24 hours" badge after your deploy gets a few visits. Once that is green you can create your first slot and start fetching content.
ran init, pushed, badge went green same evening. easier homework than most of my integrations honestly. thanks!