Basenjis can be extraordinarily social animals if you pet them and let lots of people handle them from the time they are tiny puppies. I kept mine in my studio and handed a puppy to anyone I trusted for routine petting and handling.
Dogs are pack animals.
Basenjis are not as domesticated as some other dog breeds seem to be. This may work well with more domesticated dog breeds. To best accomplish this grab them by the loose skin on either side of the muzzle or cheeks, pull them up to your nose and glare at them while chewing them out in a loud, low-pitched voice. A course in obedience-training is not a bad idea. Foot-stamping sometimes works also when they don't pay attention to the verbal command.