Datalore 2025.1 Help

Manage environment variables in a notebook

This article explains how to manage data environment variables attached to a notebook.

Attach an environment variable from workspace resources

The procedure explains how to attach an environment variable that you previously created for the resources of the respective workspace.

  1. Open the Environment tool.

  2. Switch to the Environment variables tab.

  3. Click Select environment variable to attach to expand the list.

  4. Select the item from the list.

    Selecting environment variable to attach

Create an environment variable for a specific notebook

The procedure explains how to configure a new environment variable for the environment in the currently opened notebook. The new environment variable will also be added to the resources of the respective workspace and can be attached to any other of its notebooks.

  1. Open the Environment tool.

  2. Switch to the Environment variables tab.

  3. Click the New variable button. This will open the Create environment variable dialog.

  4. Provide a name for the new environment variable.

  5. Provide a key name. This is what will be referenced in the notebook code.

  6. Provide a key value. This is the protected value that only you can manage.

  7. (Optional) Click Add key-value pair to provide another record.

  8. Click the Create variable button to finish your work in the dialog.

    Creating environment variable

Edit environment variables attached to notebook environment

You can edit environment variables in the environment of a specific notebook.

  1. On the Environment variables tab of the Environment tool, click the item you want to edit. This will open the Edit environment variable dialog.

  2. In the dialog, make the required changes and click the Update variable button.

Detach an environment variable from a notebook

  1. Click the ellipsis for the environment variable you want to edit.

    Environment variable menu
  2. Select Detach variable from the menu.

Keywords

environment variables in notebook, environment variables in editor, environment management

Last modified: 28 January 2025