text: 'use strict';
  
  const ToneAnalyzerV3 = require('watson-developer-cloud/tone-analyzer/v3');
  
  const tone_analyzer = new ToneAnalyzerV3({
    username: 'INSERT YOUR USERNAME FOR THE SERVICE HERE',
    password: 'INSERT YOUR PASSWORD FOR THE SERVICE HERE',
    version_date: '2016-05-19'
  });
  
  tone_analyzer.tone({ text: 'Greetings from Watson Developer Cloud!' }, function(err, tone) {
    if (err) {
      console.log(err);
    } else {
      console.log(JSON.stringify(tone, null, 2));
    }
  });
  