I just installed an aftermarket set of OEM style foglights on a 2020 silverado. I just simply ran the power from the battery to the relay, ground to a bolt on the body near the fuse box under the hood and used a fuse tap on the running light fuse, connected to the relay switch wire.
They come on with the running lights and turn off with the running lights.