How to login from CLI to self-hosted instance
Im currently trying to set up better auth with nextjs following this guide: https://convex-better-auth.netlify.app/#install-component
there are some environment variables here which im not sure what to put because it seems like they're autogenerated by logging into convex cloud
how do i log in to my self-hosted convex instance?
for example to get stuff like
which shows up on the convex dashboard if you use the cloud version, but doesn't show up for self-hosted versions (i use coolify btw)
2 Replies
Thanks for posting in <#1088161997662724167>.
Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets.
- Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.)
- Use search.convex.dev to search Docs, Stack, and Discord all at once.
- Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI.
- Avoid tagging staff unless specifically instructed.
Thank you!
Follow the self hosted guide, part of the setup is generating an admin key and setting it in your .env.local: https://github.com/get-convex/convex-backend/blob/main/self-hosted/README.md#self-hosting-convex