Javascript SDK Import?

Hello - I have a Javascript SDK that would need me to add into a page:

  1. import the javascript file into the app

  2. adding into the body - I assume into a WebView - a sample script like this (I have replaced < with [ )
    [script type=“text/javascript” src=“./SDK.js”][/script]
    [script]
    const ACCESS_TOKEN = “token”;

    const Sdk = SdkFactory.create({
    accessToken:ACCESS_TOKEN,
    });

I am unsure the best way to implement this… appreciate any guidance. Cheers