Follow this step-by-step guide to set up the Sinch Voice and Video SDK for the first time.
- Register a Sinch Developer account here.
- Setup a new Application using the Dashboard where you can then obtain an Application Key and an Application Secret.
The Sinch SDK can be downloaded here. It contains: the sinch.min.js, this user guide, reference documentation, and sample apps for calling.
There are many ways to include Sinch in your project, enabling you to select a suitable method depending on how your project is set up.
You can host the library co-located with your website and include Sinch using
<script src="sinch.min.js"></script>
If you prefer to load a particular version from our CDN, use
<script src="//cdn.sinch.com/<version>/sinch-rtc-min.js"></script>
If you prefer to always load the latest version from our CDN, use
<script src="//cdn.sinch.com/latest/sinch-rtc-min.js"></script>
View our JavaScript reference applications here
You can access the type definitions for the SDK.
import { Sinch } from "../types/common/sinch-rtc";
Move the sinch-rtc.d.ts included in the SDK download to your definitions directory and import