How to connect powermeter for the solar


I have a solaredge converter for my solar and the data is only every 15 minutes so Im going to add a shelly 3EM th measure the power in real time.

But i wonder how others do, do you connect the powermeter so i measure negative power(production) or do you connect it like i possitive power(regulare load)?

So, how do you do it?