vector
vector7mo ago

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?
20 Replies
Omar
Omar7mo ago
That’s the magic that makes the Convex Cloud function, and I’d say are the trade secrets of the team…
vector
vectorOP7mo ago
Well we are trying to use convex for our clients. We want to be able to automatically create convex teams / projects for them, not having to manually pass through the UI itself. This includes everything to do with the deploy process. Not trying to get any trade secrets, just trying to get more people to use convex, but do it automatically. An important part is that we cannot get the deployment key without going through the physical dashboard.
Omar
Omar7mo ago
Beyond the deploy how would the UX look like for them without the dashboard?
vector
vectorOP7mo ago
We can provide them access through the team?
Omar
Omar7mo ago
Not sure—I haven’t touched the open source version yet, so I was asking you.
vector
vectorOP7mo ago
we're still hosting on convex, not ourselves
Omar
Omar7mo ago
Oh okay I read differently when you said you will manage all hosting.
vector
vectorOP7mo ago
we manage hosting of the front end so we automatically deploy the front end for them so we dont want to make it manual so that we can scale but its being hard cuz you have to do things through the dashboard
Omar
Omar7mo ago
Ahhhb gotcha. Awesome initiative then and I’m sure the Convex team can help you out here!
vector
vectorOP7mo ago
ok perfect! waiting to hear from them we're basically creating AI generated convex nextjs applications
Omar
Omar7mo ago
Excited to see this service myself if you plan on sharing it Awwwwwsome
vector
vectorOP7mo ago
with automatic commit to repo and deploy to cloud so you can get a prod up and running in minutes with what you want
Omar
Omar7mo ago
I’m in If you’ll have me
vector
vectorOP7mo ago
gladly
vector
vectorOP7mo ago
sign up here, our sales may reach out to you after: https://vly.ai/
vly.ai - Turn a prompt into production-ready AI-generated saas applications
vly.ai - Turn a prompt into production-ready AI-generated saas appl...
Turn a prompt into production-ready AI-generated saas applications
vector
vectorOP7mo ago
for like an interview
Omar
Omar7mo ago
Haha I’m already on your waitlist
vector
vectorOP7mo ago
oh sick! then you might be getting an email soon
Omar
Omar7mo ago
Sounds good looking forward!
Michal Srb
Michal Srb7mo ago
@vector email us support@convex.dev we might be able to get you more info.

Did you find this page helpful?