Connect FrogML to Artifactory

JFrog Artifactory Documentation

Products
JFrog Artifactory
Content Type
User Guide

The FrogML SDK library is a Python tool designed to streamline the Machine Learning (ML) models and associated artifacts stored in JFrog Artifactory. With FrogML, you can upload and download models seamlessly and efficiently. FrogML is the main SDK library for JFrog ML. For more information, see JFrog ML Introduction.JFrog ML Introduction

Prerequisite: Before connecting FrogML to Artifactory, you must have an existing Machine Learning repository in Artifactory. For more information, see Create a Machine Learning Repository.

To connect FrogML to Artifactory:

  1. Run the following command to install the FrogML SDK:

    pip install frogml
  2. Run the following command to authenticate FrogML against Artifactory:

    export JF_ACCESS_TOKEN=<AUTH_TOKEN>
    export JF_URL=https://[JFrogPlatformURL]
    

    Where:

    • <AUTH_TOKEN>: Your Artifactory access token

    • [JFrogPlatformURL]: The URL of your JPD

    For example:

    export JF_ACCESS_TOKEN=ajK2m4p6N8r9TbuFvWxYz1C3E5G7H9JtywzZ55JCAwpHhTZsOr7Uv-L7oeCKZ3y
    export JF_URL=https://company.jfrog.io

Note

You can also use JFrog Set me up to copy the snippet populated with your token and environment. For more information, see Use Artifactory Set Me Up for Configuring Package Manager Clients.

Next steps:

Log and load ML models:

For more information about FrogML, see the JFrog ML documentation.What is JFrog ML