Installing and Authenticating Descartes Labs APIs

Let's set up our Python environment to get to work

Installing the Python Client

Note: If you are using the Workbench service, you can skip to Authentication. 

To start using the DL Platform, you need to install the Python client. Whether you are using a Virtual Machine (VM) or your local machine, you can install the DL Python client through PyPi

Authenticating your Installation

Once you have installed the Descartes Labs Python API, we must next authenticate your Python client with the Platform and test the connection. Typically this is done via a Terminal in an activated environment, such as Conda, with the following command:

descarteslabs auth login

Note: If you run into trouble with authentication, please feel free to reach out to support@descarteslabs.com

Example Notebooks to get you started

The notebooks are located in our Jupyter Lab environment Workbench. Alternatively, you can visit our GitHub repository to learn how to use the DL Platform. The repository covers everything from basic concepts and API usage to creating a simple web application that takes advantage of DL Platform services. To get started, simply clone the repository to your local machine and explore the Jupyter notebooks in the "guides" folder.

Sample Notebooks include examples of working with the API, models on demand, models at scale. See the Github repo for more information.