Installation

The JavaScript SDK is easy to use and only takes a few minutes to set up and get running.
You can either import it from a CDN or install it with npm.

CDN

If you want to use the CDN, import the script in your html:

<script src="https://unpkg.com/@signalwire/js"></script>

Then, you can use the global SignalWire variable in your application.

NPM

If you want to install the library locally, use npm:

npm i @signalwire/js

Then, import it into your application:

import SignalWire from '@signalwire/js'

What’s Next
Did this page help you?