title: API Key does not start with "SG." SendGrid
body: <p>I am trying to set up SendGrid add-on in my Heroku NodeJS app.
  I created the API Key and set it as an environment variable. </p>
  
  <p>The whole API key looks something like: SG.actualValue.bbb_cccccc</p>
  
  <p>The first setup I did I set the whole key as as my SENDGRID_API_KEY and I got this error:</p>
  
  <blockquote>
    <p>API key does not start with SG.</p>
  </blockquote>
  
  <p>So, I realized the mistake and unset the environment variable and set it again only to the actualValue part of the whole key.</p>
  
  <p>However, I still get the same error. I tried doing the same thing again or restarting the terminal(actually, whole laptop).</p>
  
  <p>This is the test code I am trying to run from the SendGrid setup page:</p>
  
  <pre><code>const sgMail = require('@sendgrid/mail');
  sgMail.setApiKey(process.env.SENDGRID_API_KEY)
  const msg = {
    to: 'test@example.com',
    from: 'test@example.com',
    subject: 'Sending with Twilio SendGrid is Fun',
    text: 'and easy to do anywhere, even with Node.js',
    html: '&lt;strong&gt;and easy to do anywhere, even with Node.js&lt;/strong&gt;',
  };
  sgMail.send(msg);
  </code></pre>
  
  <p>I tried creating a new key and setting it, but I get the same error. I tried setting it to the whole key, but without ".SG"  or just the bbb_ccccc part.  Thank you in advance.</p>