1. Packages
  2. DataRobot
  3. Installation & Configuration
DataRobot v0.4.5 published on Monday, Nov 18, 2024 by DataRobot, Inc.

DataRobot: Installation & Configuration

datarobot logo
DataRobot v0.4.5 published on Monday, Nov 18, 2024 by DataRobot, Inc.

    Installing

    This package is available for several languages/platforms:

    Python

    To use from Python, install using pip:

    pip install pulumi_datarobot
    

    Javscript/Typescript

    To use from JavaScript or TypeScript in Node.js, install using either npm:

    npm install @datarobot/pulumi-datarobot
    

    or yarn:

    yarn add @datarobot/pulumi-datarobot
    

    Go

    go get github.com/datarobot-community/pulumi-datarobot/sdk/go/...
    

    .NET

    To use from .NET, install using dotnet add package:

    dotnet add package DataRobotPulumi.Datarobot
    

    YAML

    No install necessary, just run pulumi up.

    Provider Binary

    The DataRobot provider binary is a third party binary. It can be installed using the pulumi plugin command.

    pulumi plugin install resource datarobot <version> --server github://api.github.com/datarobot-community/pulumi-datarobot
    

    Replace the version string with your desired version.

    Configuration

    You must configure the DataRobot provider for Pulumi with a DataRobot API Key before the provider can be used to access and manage items in your DataRobot account.

    • datarobot:apikey (environment: DATAROBOT_API_TOKEN) - the API key for datarobot

    Once you have your API Key, there are two ways to provide it to Pulumi:

    1. Set the environment variable for the preferred method. For example, to set the environment variable for an API Key:

      $ export DATAROBOT_API_TOKEN=XXXXXXXXXXXXXX
      
    2. If you prefer to store your API Key alongside your Pulumi stack for easy multi-user access, use configuration to set them.

      $ pulumi config set pulumi-datarobot:apikey --secret
      Value: <paste api key here>
      

    Make sure to pass --secret when setting any sensitive data (in this example pulumi-datarobot:apikey) so that it’s properly encrypted. The complete list of configuration parameters is in the DataRobot provider for Pulumi README.

    datarobot logo
    DataRobot v0.4.5 published on Monday, Nov 18, 2024 by DataRobot, Inc.