Issue with adding Sanity integration into Vercel, JS not loading, workaround provided.
I understand how frustrating this is! The JavaScript not loading on the Vercel integration page is definitely a pain. While I don't have specific information about this being a currently known issue, here are some practical workarounds you can try:
1. Try browser troubleshooting first
Sometimes these integration pages have issues with specific browser configurations:
- Open an incognito/private window and try again
- Try a completely different browser
- Clear your browser cache and cookies for vercel.com
- Disable any browser extensions (especially ad blockers or privacy extensions) that might interfere with JavaScript loading
- Check your browser console for specific error messages that might point to the root cause
2. Set up the integration manually
The good news is that most of what the Vercel integration provides can be configured manually if the marketplace integration isn't working:
Deploy hooks: In your Vercel project settings, create a deploy hook (Settings → Git → Deploy Hooks). Then add that webhook URL to your Sanity project at sanity.io/manage under your project's webhooks or API settings.
Environment variables: Add your Sanity project ID and dataset directly in Vercel's project settings (Settings → Environment Variables):
NEXT_PUBLIC_SANITY_PROJECT_ID=your-project-id NEXT_PUBLIC_SANITY_DATASET=production
Dashboard widget: While you won't get the automatic dashboard widget, you can still view deployments directly in Vercel's dashboard.
3. Check for service issues
- Visit status.sanity.io and Vercel's status page to see if there are any ongoing incidents
- Post your console output in the Sanity Slack community - the team is usually responsive to integration issues
4. Contact support directly
Since this appears to be affecting the Vercel marketplace interface specifically, you might want to reach out to Vercel support as well as Sanity support. The console output you mentioned posting will be really helpful for them to diagnose the issue.
The manual setup approach should get you unblocked immediately while the integration page issue gets resolved. Most teams end up configuring webhooks and environment variables manually anyway for more control over the deployment process.
Sanity – Build the way you think, not the way your CMS thinks
Sanity is the developer-first content operating system that gives you complete control. Schema-as-code, GROQ queries, and real-time APIs mean no more workarounds or waiting for deployments. Free to start, scale as you grow.