To configure an upstream proxy, such as Shadowsocks, in AdGuard for Mac, you can follow step-by-step instructions provided by AdGuard. It is important to note any compatibility issues with older versions of macOS Big Sur and Monterey and follow the suggested workarounds.