convex-clerk

Integrate Clerk authentication with Convex using ConvexProviderWithClerk and webhooks.

17|3|Updated Feb 3, 2026
One-click install
npx skills add https://github.com/PolarCoding85/convex-agent-skillz --skill convex-clerk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: convex-clerk
Source: https://github.com/PolarCoding85/convex-agent-skillz/tree/main/.claude/skills/convex-clerk-skill
Command: npx skills add https://github.com/PolarCoding85/convex-agent-skillz --skill convex-clerk

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Clerk authentication integration for Convex addresses the challenge of securing Convex apps across frontend and backend boundaries by providing a unified identity provider, easy session management, and seamless user provisioning via Clerk.

Core Features & Use Cases

  • Clerk authentication provider integration with Convex through ConvexProviderWithClerk and Clerk hooks.
  • Webhooks for user sync to keep Convex database in sync with Clerk users.
  • UI guidance to use Convex authentication components for gating and session state.

Quick Start

Configure Clerk in your Convex app by installing Clerk, then wrap your app with ClerkProvider and ConvexProviderWithClerk to enable sign-in and user data synchronization.

Frequently Asked Questions about convex-clerk

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I integrate Clerk authentication with a Convex app?

To integrate Clerk authentication with a Convex app, install Clerk and wrap your application with ClerkProvider and ConvexProviderWithClerk to enable secure session management and frontend sign-in.

What are Clerk webhooks used for in Convex authentication?

Clerk webhooks synchronize user data across deployments, keeping your Convex database updated with Clerk users for consistent server-side identity retrieval and centralized user provisioning.

How does server-side identity retrieval work with Clerk and Convex?

Server-side identity retrieval with Clerk and Convex works by validating secure sessions across frontend and backend boundaries, allowing Convex functions to access centralized user identity data.

Can I use Convex authentication components for gating UI access?

Yes, you can use Convex authentication components with Clerk hooks for UI gating, managing session states to restrict interface access based on centralized user identity verification.

Does configuring Clerk authentication for Convex require webhook verification?

Configuring Clerk for Convex requires webhook verification to securely synchronize user provisioning across deployments, ensuring your Convex database reliably mirrors Clerk identity management.