#How to login from CLI to self-hosted instance

1 messages · Page 1 of 1 (latest)

urban rock
#

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

# Deployment used by `npx convex dev`
CONVEX_DEPLOYMENT=dev:adjective-animal-123 # team: team-name, project: project-name

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)

supple sorrelBOT
#

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](https://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!