From the command prompt go to your app's root folder and execute:
npm i kinvey-html5-sdk@next
or if you would prefer you can just download the latest bundle and include it in your application.
We need to initialize the SDK.
import * as Kinvey from 'kinvey-html5-sdk';
Kinvey.init({
appKey: '<yourAppKey>',
appSecret: '<yourAppSecret>'
});
window.Kinvey.init({
appKey: '<yourAppKey>',
appSecret: '<yourAppSecret>'
});
Please take a look at our kinvey-angular-sdk
.
If you would like to build the SDK yourself, clone the monorepo, then:
npm i
npm run build
You can then install the SDK build by running npm i /<localpath>/packages/html5-sdk