Setting Otto Environment Variables

Normally you don't need to add Environment Variables, but there are some debug settings that can be set here. Otto's Environment Variables are set by editing a special "dotEnv" file. The file is in a specific place and must be named EXACTLY ".env".  There is no file extension. Just .env -  Windows users beware! You need to make sure that file doesn't have an extension. The UI will NOT show extensions by default. So you won't see that the file has a .txt extension by default.
A variable is set by adding a line in this .env file in the following format.

How to find your .env file.

  1. On your FileMaker Server machine, navigate to the Otto application folder.
  2. Open the config directory
  3. Look for a file named ".env"
    1. The file is not created by default so you might need to create it.
    2. If you are on a Mac, you'll have to turn on view invisible files, by typing command-shift-period. It will look like this.
    3. On Windows, the file will be visible.

Don't have the .env file?

No problem! Here's how to create one!


Use your favorite development tool (BBEdit, Visual Studio Code, etc.) or create it using your keyboard via Terminal.

  1. Open Terminal
  2. Change to the Otto config directory by typing:
    cd /Applications/Otto/config
  3. Create the file by typing:
    sudo nano .env
  4. Running a "sudo" command requires you to authorize it by entering an Administrator password.
  5. Add your environment variable, substituting the URL for your service region:
  6. Exit the Nano text editor
  7. Confirm that you want to save the buffer.
  8. Confirm the filename. (It's already set to .env)


If the file is saved with a .txt extension, Otto will not see it. Follow these steps to ensure you're setting it correctly.

  1. Open Notepad
  2. Add your environment variables
  3. Select "Save As..."
  4. Select "All Files" from the dropdown list under the filename so that you do not save the file with a .txt extension.
  5. Enter .env as the filename and save in C:\Program Files\Otto\config
  6. Restart the Otto service from Task Manager -> Services

Here's a video explanation that details the "trick" to ensure you're not saving it as a .txt file:

Some Variables You Can Set

S3_ENDPOINT= ServerInfoHere i.e., s3.{server}

Wasabi Example
( Wasabi Service URLs )

Restart the Otto Service

 You must restart Otto after updating any environment variables to load the new settings.

Still need help? Contact Us Contact Us