You can log in to TrueFoundry using one of the following methods:
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.
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:
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.
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.
Updated 19 days ago