How To Find Sendgrid Api Key

To ensure secure communication between your applications and SendGrid’s services, API keys are necessary. In this blog post, we will walk you through the steps to locate your SendGrid API key. Let’s begin.

Step 1: Log into your SendGrid Account

To begin, you must first log into your SendGrid account. If you do not yet have an account, go to the SendGrid website and sign up for one. It’s a straightforward process.

Step 2: Locate the Settings Section

Once you are logged into your account, navigate to the settings section which is located on the left-hand sidebar of your SendGrid dashboard.

Step 3: Click on API Keys

Within the settings section, you will find an option named “API Keys”. Click on this option to proceed.

Step 4: Create or Find your API Key

In the API Keys section, you will see all your existing API keys if you have created any previously. If you don’t have an API Key yet, you can create a new one by clicking on the “Create API Key” button at the top right corner. You will be prompted to name the API Key and set its permissions. After setting this up to your preferences, click on “Create & View”.

Remember, as soon as you create your API Key, it will be displayed only once for security reasons. Make sure to copy the API Key and save it in a secure area because once you leave that page, you won’t be able to view the entire API Key again.

Step 5: Secure your API Key

Never share your API Key with anyone or publish it in public places like GitHub. If you believe that your API key has been compromised, delete it and create a new one.

Using your SendGrid API Key

After successfully creating your API key, you can use it to authenticate requests made to the SendGrid API. Below is an example of how to use your API Key in a Node.js application:

   const sgMail = require('@sendgrid/mail');

Replace ‘YOUR_SENDGRID_API_KEY’ with your actual SendGrid API key.


That’s it! You now know how to find your SendGrid API key. With this key, you can start integrating SendGrid’s powerful features into your applications. If you have any questions, don’t hesitate to reach out to SendGrid’s support team.