code: function createApplication() {
  
    var app = {
      name: unique('My Awesome Application'),
      description: ('No, Srsly. It\'s Awesome')
    };
  
    return client.createApplication(app, {createDirectory: true}, function(err, app) {
      if (err) throw err;
      application = app;
      console.log('Created application:');
      console.log(application);
      return createAccount(); //next quickstart step
    });
  }
docs: ================================================== Step 2 - Register an application with Stormpath ==================================================