Skip to main content
Convex components are configured in convex/convex.config.ts, which is one of the files in the convex/ directory that Confect does not manage. Configure and use components using the vanilla Convex API.
convex/convex.config.ts
import { defineApp } from "convex/server";

const app = defineApp();

export default app;
Some components (such as Workflow, Migrations, and Workpool) expect you to define Convex functions in your project that they can reference. You can integrate these into your Confect spec and impl using plain Convex functions. See the Convex components documentation for details on installing and using components.