Authentication
The pd4castr CLI uses a browser-based login flow to connect to your account. You log in once, and the CLI stores your credentials locally for subsequent commands.
Log In
Run the following command to authenticate:
pd4castr loginThe CLI starts a device authorization flow and displays a verification URL and a login code:
ℹ Please open the login link in your browser:
https://pdview.au.auth0.com/activate?user_code=ABCD-EFGH
ℹ Your login code is:
ABCD-EFGH
⠋ Waiting for login to complete...To complete the login:
- Open the verification URL in your browser.
- Enter the login code shown in your terminal.
- Sign in with your pd4castr credentials.
The CLI waits automatically and confirms when the login succeeds:
✔ Successfully logged in to the pd4castr APILog Out
To clear your stored credentials:
pd4castr logout✔ Successfully logged out of the pd4castr APITroubleshooting
- Token expired? Run
pd4castr loginagain to refresh your credentials. - Browser didn’t open? Copy the verification URL from your terminal and paste it into your browser manually.
- Login timed out? The authorization code has a limited lifetime. If it
expires, run
pd4castr loginagain to generate a new code.
Next Steps
Once you’re logged in, you can fetch test data from configured data sources and publish your model to the platform.