Skip to content

dstack login

This command authorizes the CLI using Single Sign-On and automatically configures your projects. It provides an alternative to dstack project add.

Usage

$ dstack login --help
Usage: dstack login [-h] --url URL [-p PROVIDER]

Options:
  -h, --help            Show this help message and exit
  --url URL             The server URL, e.g. https://sky.dstack.ai
  -p, --provider PROVIDER
                        The SSO provider name. Selected automatically if the
                        server supports only one provider.