M3 hub to smarthing

how to do i connect smarthings to aqara m3 hub? do i need a google hub or smarthings, etc. hub?

i tried using matter qr code and it says i need a google hub

To bridge a M3 hub (and the subdevices) to smartthings you will need a smartthings hub that is matter capable:

https://support.smartthings.com/hc/en-us/articles/11219700390804-SmartThings-x-Matter-Integration

You must to buy a Smartthings hub: Smartthings Station, Aeotec hub 2