Truelty Python CLI Setup

Truelty’s backend processing uses a Python CLI to orchestrate the Snowflake SQL jobs. Truelty’s Python CLI can be added to a schedular or run manually.

Installing TRUELTY.PY and Setting Environment Variables

  1. Copy the file truelty.py into the directory on the computer where you will run the Truelty Python CLI.
  2. Configure the environment variables on the computer where the CLI will be running. Please add the following environment variables and values:
    1. SF_ACCOUNT = <snowflake full account name>
    2. SF_USER = _truelty_svc
    3. SF_PASSWORD = <password for _truelty_svc>
    4. SF_ROLE = truelty_svc
    5. SF_WAREHOUSE = truelty