Wix - Intercom Engage

I want to install Intercom Engage on my Wix webpage. Where on Wix Code do I enter this Javascript code? And on Wix, where do I get the coding of ‘name’, ‘email’ and ‘created at’ to tell Intercom where the data is? Thanks!

It may not be the right place I am pasting the code. However, upon pasting the code on Wix, I get several error messages, please see attached.

I would love to find out where is the code for the fields of “name”, “email” and “created at”, for filling up in my Wix Code.