My husband and I both work from home and worked from home when we got Thor at 8 weeks old. We crate trained him. The most challenging thing was making sure he received NO reward when he was crying or whining. A reward could be as little as getting a glance at one of us. When he was fussy we would close all the doors between the living room (where the crate was) and our offices. We wanted to make sure he didn't get to see us or hear us. Since we are both home all the time it was important for us for him to understand alone time so he wouldn't develop separation anxiety issues.
Hardest part was that we had to walk through the living room to get to the kitchen, so I had many delayed cups of coffee thanks to that whiney pup.
If he was in his crate and being quiet, when I'd walk through the living room I'd casually toss in a treat.
It worked, he stopped whining after only a week or two and he's been able to be left home alone, even out of the crate, since 6 months old.