Platform Login

Connect this engine to a dxflow platform account

Usage

Terminal
dxflow platform login [OPTIONS]

Options

FlagShorthandDescriptionTypeDefault
--no-openPrint the login URL for a browser elsewhereboolfalse
--codeCode shown in the browserstring

Output

Terminal
● Platform
  Engine      a1b2c3d4e5f60718293a4b5c6d7e8f90
  Browser     https://dxflow.ai/workspace/login?identity=a1b2c3d4e5f60718293a4b5c6d7e8f90
  Code        4821-3975

Platform connected: 'you@example.com' now holds this engine

The browser signs in as an account and shows an eight-digit code. Where the browser runs on the same machine, it hands the code to the terminal and the prompt fills itself; otherwise you type it. A code lives five minutes, redeems once, and is worth three attempts.

On a host with no browser, --no-open prints the URL and returns rather than holding the terminal:

Terminal
● Platform
  Engine      a1b2c3d4e5f60718293a4b5c6d7e8f90
  Browser     https://dxflow.ai/workspace/login?identity=a1b2c3d4e5f60718293a4b5c6d7e8f90
  Next        dxflow login --code <CODE>

Open that URL wherever you have a browser, then finish with --code. The same flag covers a second terminal, a script, and a rerun after a typo.