First Time Setup

Follow this step-by-step guide to set up the Sinch Voice and Video SDK for the first time.

Register an Application

  1. Register a Sinch Developer account here .
  2. Setup a new Application using the Dashboard where you can then obtain an Application Key and an Application Secret .

Download

The Sinch SDK can be downloaded here. It contains: the sinch.min.js, this user guide, reference documentation, and sample apps for calling.

Add the Sinch library

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.

Hosted with your webapp

You can host the library co-located with your website and include Sinch using

Copy
Copied
<script src="sinch.min.js"></script>

Load from Sinch CDN by version

If you prefer to load a particular version from our CDN, use

Copy
Copied
<script src="//cdn.sinch.com/<version>/sinch-rtc-min.js"></script>

Load from Sinch CDN

If you prefer to always load the latest version from our CDN, use

Copy
Copied
<script src="//cdn.sinch.com/latest/sinch-rtc-min.js"></script>

Reference Applications

View our JavaScript reference applications here

Integrate the type definitions file (optional)

You can access the type definitons for the SDK.

Copy
Copied
import { Sinch } from "../types/common/sinch-rtc";

Move the sinch-rtc.d.ts included in the SDK download to your definitions directory and import

Types imported into your IDE

We'd love to hear from you!
Rate this content:
Still have a question?
 
Ask the community.