headers: {
    &quot;X-Watson-Learning-Opt-Out&quot;: &quot;1&quot;
  }
});</code></pre><h2>Getting the Service Credentials</h2><p>You will need the <code>username</code> and <code>password</code> (<code>api_key</code> for AlchemyAPI) credentials for each service. Service credentials are different from your Bluemix account username and password.</p>
<p>To get your service credentials, follow these steps:</p>
<ol>
<li><p>Log in to Bluemix at https://bluemix.net.</p>
</li>
<li><p>Create an instance of the ser