Skip to main content
If you’re building your own command-line application, you can use Hexclave to let users log in from a terminal.
This page is about adding authentication to your own CLI app. For the official Hexclave CLI, see the Hexclave CLI guide.
To do so, we provide a Python template that you can use as a starting point. Download it here and copy it into your project, for example:
Then, you can import the prompt_cli_login function. The project ID is enough for most projects; only pass publishable_client_key if the project has requirePublishableClientKey enabled.