We have created a SharePoint Communication site with Modern UI. We need to execute some Javascript code for chatbot integration. All we have to do is just reference some external js files.
How this can be achieved as modern UI blocks client scripting?