Does Perforce Work For Unreal Engine 4.12.5?

Kind of a dumb question but does anyone know how to answer this?

I installed Perforce and watched/read many tutorials on how to set it up and integrate it into unreal engine. Everything works fine until it says “no workspaces found”. Does anyone know how to solve this?

You have to setup a workspace directory.
This will help-
http://shootertutorial.com/2015/11/14/setting-up-perforce-in-one-minute/

I’d suggest setting up a login with your workspace. That way when you login to perforce through unreal, you should see your workspace in the dropdown once you enter your username and password. Hope that helps!