How Can I Add 2 Philips Hue Bridges To One SmartThings Hub?

I have a V2 Hub and am looking to upgrade to the newest Hub possibly but I set my Hub up years ago now and somehow was able to pair 2 Philips Hue Bridges to one Hub and have all lights and sensors from those 2 bridges appear on my list of device in SmartThings. I am wondering how I can do this in the future should I get the newer Hub? Thanks

The Hie edge driver detects the second hub without any problem. Or as Hue is a matter bridge you could connect via Matter