This page explains how to configure the Blueprint Workshop, including installing the required libraries, enabling your DataRobot account, and establishing a connection to DataRobot by providing credentials.
Use the following sections to connect to DataRobot in order to use the Blueprint Workshop. Each authentication method below specifies credentials for DataRobot, as well as the location of the DataRobot deployment. DataRobot currently supports configuration using a configuration file, by setting environment variables, or within the code itself.
Specify an API token and an endpoint in order to use the client. You can manage your API tokens in the DataRobot application by selecting your profile and navigating to API keys and tools. The order of precedence is as follows. Note that the first available option will be used.
Set an endpoint and API key in code using datarobot.Client.
Set up a config file as specified directly using datarobot.Client.
Set up a config file as specified by the environment variable DATAROBOT_CONFIG_FILE.
Configure the environment variables DATAROBOT_ENDPOINT and DATAROBOT_API_TOKEN.
Search for a config file in the home directory of the current user, at ~/.config/datarobot/drconfig.yaml.
If you access DataRobot at https://app.datarobot.com, the correct endpoint to specify would be https://app.datarobot.com/api/v2. If you have a local installation, update the endpoint accordingly to point at the installation of DataRobot available on your local network.
You can use a configuration file to specify the client setup. The following is an example configuration file that should be saved as ~/.config/datarobot/drconfig.yaml:
You can specify a different location for the DataRobot configuration file by setting the DATAROBOT_CONFIG_FILE environment variable. Note that if you specify a file path, you should use an absolute path so that the API client will work when run from any location.