Login
Logging in to TrueFoundry
You can log in to TrueFoundry using one of the following methods:
Web-Based Login
To log in to MLFoundry through the web-based interface, follow these steps:
- Open your web browser and navigate to your MLFoundry host. This will typically be in the format of https://your-domain.truefoundry.com, where your-domain is the specific address for your MLFoundry instance.
- You will be prompted to enter your credentials, including your username and password. Provide the required information to log in.
- After successful authentication, you will gain access to the TrueFoundry web interface, where you can manage your machine learning assets and perform various tasks.
CLI-Based Login
TrueFoundry also provides command-line interface (CLI) options for logging in, allowing you to automate login processes and integrate them into your workflows. There are two CLI-based login methods:
Interactive Mode:
To log in interactively via the CLI, use the following command:f
sfy login --host "<ENTER YOUR HOST HERE>"
Replace with the host URL of your MLFoundry instance, e.g., https://your-domain.truefoundry.com.
This command will open a new tab in your web browser, prompting you to approve the login request. Follow the on-screen instructions to complete the login process.
Non-Interactive Mode
TrueFoundry also provides command-line interface (CLI) options for logging in, allowing you to automate login processes and integrate them into your workflows. There are two CLI-based login methods:
In non-interactive mode, you can set environment variables to automate the login process. To do this, set the following environment variables:
TFY_API_KEY
: Your TrueFoundry API key. You can obtain your API key by referring to the API Key Generation Documentation.TFY_HOST
: The host URL of your MLFoundry instance, e.g., https://your-domain.truefoundry.com.
By setting these environment variables, you can perform CLI-based actions without the need for manual interaction. This method is useful for scripting and automation purposes.
Update, Rollback, Promote your service
Updated 9 months ago