Node.js Installation

Sign in or Register for Apptimize. You’ll see a welcome page that asks for the name of your app. After entering all your info, you’ll see these installation instructions again.

SDK Installation

Simply install from command-line with npm i @apptimize/apptimize-server-sdk

Then, include Apptimize in your app. For example, you can use require: var Apptimize = require('@apptimize/apptimize-server-sdk');

You should now have access to all Apptimize APIs.

You can find our latest Node.js API Documentation here.

Our package can be found on npm here.

Initializing Apptimize

To initialize Apptimize, make the following call with the App Key associated to your app, which can be found in the Install tab of your Dashboard. Note that setup has to be called for each unique session in which you are using the Apptimize API.

JavaScript
Apptimize.setup("<appkey>");

You can find more information related to the Apptimize Node.js SDK here.