vectorV
Convex Community2y ago
31 replies
vector

Create new convex project programmatically

We're offering a service that automatically sets up a convex project with clerk auth built in (ie like a boilerplate generator that runs and deploys out of the box for you).

We manage all hosting for customers as well.

Everything must be done automatically though.

So how do you go about creating a new convex project, setting its environmental variables, setting up a new clerk project programmatically and linking it, and deploying it to vercel all programmatically.

How do I go about doing this?

This is all being done on a github repo and running commands upon deployment through vercel (so nothing ever happens locally). Essentially, our own convex server is creating the github repo, copying in a boilerplate project, and now, we need it to correctly configure a new convex project for each of our users. How is a way that this can be done at scale?
Was this page helpful?