Cannot embed panel on sqaurespace website

I am using grafana on my raspberry pi and i access it using localhost:3000. I then use a tunnelling service which gives me a URL that allows me to access grafana remotely from any computer over the internet. However, when i try to embed the panel using the embed code in Share>Embed, it doesnt work. I get a " refused to connect". I read online and some people had this problem which apparently is not a squarespace issue. (

Can someone help me with embedding the panel please?

Thanks in advance