Loading the Open ContactPad SDK

Using SDK bundle as external script with a pre-existing Web page

For Vonage Unified Communications /VBC, VBE/

<script data-provider='uc' src='https://apps.gunify.vonage.com/cti/common/vonage.dialer.sdk.js'></script>

LIVE SAMPLE

For Vonage Contact Center /VCC/

<script data-provider='cc' data-cc-domain='nam.newvoicemedia.com' src='https://apps.gunify.vonage.com/cti/common/vonage.dialer.sdk.js'></script>

LIVE SAMPLE

Using SDK as an NPM package added to the webpage source code

NPM Package

const VonageDialer = require('@vgip/vonage-dialer-sdk');

VonageDialer.enableClickToDial(true); // Annotate phone numbers for click-to-dial
VonageDialer.init({ provider: '[cc|uc]' /* other config options */ }, (dialer) => { 
  // see "building with Open ContactPad"
});

LIVE SAMPLE