Setting Up Your Environment

Finding Your API Key

API-key

Setting an APPLITOOLS_API_KEY Environment Variable

Exporting the environment variable

  • Mac: export APPLITOOLS_API_KEY="YOUR_API_KEY"
  • Windows: set APPLITOOLS_API_KEY="YOUR_API_KEY"

Running the process with the environment variable

$ APPLITOOLS_API_KEY="YOUR_API_KEY" script
1

Replace script with your tool of choice (eg. npm test, pytest)

Other options

  • Creating and loading an environment file (.env)
  • Store in the system variables (in Windows) or in the ~/.bash_profile (in Mac) so that it is accessible from all Terminal shells
Last Updated: 3/2/2021, 9:50:03 AM