p4passwd not set

CommandMessage Command: GetWorkspaces, Error: Perforce password (P4PASSWD) invalid or unset.

This is what I get when trying to connect to my perforce server in the cloud. And before it is asked, it works perfectly fine with the GUI, but it would be nice if I can get this to work so when I add to my project the new file is auto added, or if I change something it gets checked out like ive seen in just about every tutorial concerning UE4/5 integration with perforce, but I havent send where to add the password. I even tried setting it up as a windows environment variable. Who ever programed this integration missed a few steps, and should of added the place to add the password when you go to set up the connection. Any help would be appreciated.

  1. Open P4V
  2. Log in with the perforce account that you want to use in UE
  3. Go to Connection > Environment settings, a window will pop up
  4. Check “Use current connection for environment settings” checkbox
  5. Click OK
  6. Open UE
  7. Go to Tools > Change Revision Control Settings
  8. Select Provider “Perforce”
  9. Check “Use P4 Config” checkbox.

What it does is it sets up system environment variables that UE reads and uses to log into your perforce server. There is no password stored in UE itself. I haven’t figured out how to use a P4CONFIG configuration file, yet. Anyone ?