Baseten home page
Search...
⌘K
Reference
Overview
Configure Truss
Inference API
Overview
Predict endpoints
Status endpoints
Wake endpoints
Management API
Overview
Models
Chains
Deployments
Environments
Secrets
API keys
Training
CLI reference
Truss
Overview
truss login
truss init
truss push
truss watch
truss predict
truss run-python
truss image
truss container
truss cleanup
Chains
Training
SDK reference
Truss
Chains
Training
Support
Return to Baseten
Baseten home page
Search...
⌘K
Ask AI
Support
Return to Baseten
Return to Baseten
Search...
Navigation
Truss
truss login
Documentation
Examples
Reference
Status
Documentation
Examples
Reference
Status
Truss
truss login
Authenticate with Baseten.
Authenticate with Baseten.
Copy
Ask AI
truss login [OPTIONS]
Authenticates with Baseten, storing the API key in the local configuration file.
If used with no options, runs in interactive mode. Otherwise, the API key can be passed as an option.
Options
--api-key
Baseten API Key. If this is passed, the command runs in non-interactive mode.
Was this page helpful?
Yes
No
Previous
truss init
Create a new Truss.
Next
On this page
Options
Assistant
Responses are generated using AI and may contain mistakes.