> ## Documentation Index
> Fetch the complete documentation index at: https://docs.baseten.co/llms.txt
> Use this file to discover all available pages before exploring further.

# truss.login

Authenticates with Baseten using an API key. Persists credentials to `~/.trussrc`, so it only needs to be called once.

**Parameters:**

| Name      | Type  | Description     |
| --------- | ----- | --------------- |
| `api_key` | *str* | Baseten API Key |
