How to get a pet in Diablo 4

There's only one pet available at the moment, and though it is purely a cosmetic item, it is an adorable companion. Here's how to get a pet in Diablo 4.