I need help adding third-party JavaScript authentication

Hello! My website has business partners that are requiring us to add JavaScript Website Authentication. I can’t figure out how to do this, even with Developer Tools. They gave me two options and I can’t get either to work.

The first is to cut and paste a small line of JavaScript code into the index page of our site. This would be easiest but I can’t access the actual backend code of the index page. Or at least I don’t know how at this point.

The second option for authentication was to upload the .txt file. That didn’t work because WIX doesn’t allow .txt files to be uploaded. So I need some help. Any direction you can give me would be a lifesaver. Thank you!

Hi,
I think that using an HTML component you can achieve the first (script) approach.

@ohad-laufer thanks. But how does one then access/call the code in the HTML component?