code: function createAccount() {
  
    var acct = {
      givenName: 'Jean-Luc',
      surname: 'Picard',
      username: unique('jlpicard'),
      email: accountEmail,
      password: 'Changeme1!'
    };
  
    return application.createAccount(acct, function(err, createdAccount) {
      if (err) throw err;
      account = createdAccount;
      console.log('Created account:');
      console.log(account);
      return updateAccount(); //next quickstart step
    });
  }
docs: ================================================== Step 3 - Create a new application account ==================================================