var callbackUrl = "http://localhost:3000/oauth_callback"; // your endpoint // initialize OAuth var Evernote = require('evernote'); var client = new Evernote.Client({ consumerKey: 'my-consumer-key', consumerSecret: 'my-consumer-secret', sandbox: true, // change to false when you are ready to switch to production china: false, // change to true if you wish to connect to YXBJ - most of you won't });