The CSWT is designed for very simple installation on client websites. This can be achieved by adding a single compiled script and a few lines of additional inline Javascript or by incorporating the CSWT into the site build using either Typescript or Javascript inclusion.
The simplest way to get the latest stable version of the CSWT is to install it using NPM.
npm i resolver-capability-testbed
Or alternatively you can download the latest built version directly from GitHub using this link
The script can then be included on a webpage using
<script type="text/javascript" src="/404.html"></script>
Where the path to the target javascript will depend on the method of installation above.
NB: It may be necessary to augment site level content security policies to enable access to the SSCRT.