Is this compatible with squarespace?
Yes
You can add Rozz to a Squarespace site via Settings → Advanced → Code Injection or by using an Embed/Custom HTML block to insert the script and <rozz-searchbox> tag How do I install the Rozz chatbot on my website?