Hex Docs
Environment Views
Recently added: Variable Explorer!

From the left sidebar you can navigate to several Environment Views: Outline, Files, Data Connections, Packages, & Variables (including Secrets and Environment Variables)

File Upload

Upload files for use in a given project. Use this feature to load in source data, figures, images, and more.



Keep your sensitive values, like API tokens or passwords, secret by adding them as Secrets. We store all Secrets in a highly-encrypted vault, which is only visible to other Project Editors or Owners. Secrets can be referenced in Code Cells, but an attempt to display them in the Logic or App View will return [SECRET VALUE] .
Add Secrets to your Project Environment easily and securely.
To access your Secrets, call them directly in place of where you would hard-code your credentials. In the example below, we're setting up a Snowflake connection and passing the database details as Secrets.

Environment Variables

You can configure Environment Variables to be used in your Projects. Environment Variables aren't kept in the encrypted vault, nor are they redacted. Setting an environment variable in the left side panel is equivalent to using the python os library directly in your Logic cells.
See more documentation for the os library here.

Built-in variables

We also have some variables which are automatically included in your project. These variables can be referenced in any Logic Cell.
If a project has been set to run on a schedule, this variable is set True.
"logic", "app", or "scheduled"
Helpful if you want to restrict certain logic to only run while in App, Logic, or Scheduled run modes. As an example, use this if you have some debug logic that you don't want to run while a user is interacting with an app.

Variable Explorer

The Variable Explorer allows you to browse the objects generated by your code. For each object, we show you its name, type, and value.
Last modified 15d ago