Initialize the SDK

After installing, initialize the SDK#

appId: 'yourAppId',
appSecret: 'yourAppSecret',
basePath: ''
.then(() => console.log('SDK Initialized.'))
.catch(err => console.error('Error in initialization.', err));
  1. After getting your appId and appSecret, use the command below to install the SDK and add it to your npm project's package.json.
$ npm install --save symbl-node
  1. Reference the SDK in either the ES5 or ES6 way.

The ES5 way#

var sdk = require('symbl-node').sdk;

The ES6 way#

import { sdk } from 'symbl-node';