Skip to content

SendGrid integration with JDoodle.ai

SendGrid is a cloud-based email delivery service that provides reliable transactional and marketing email infrastructure. Its API enables seamless integration into your projects, allowing you to send emails, manage campaigns, and track engagement.

Integrating SendGrid with JDoodle.ai allows you to:

  • Send transactional emails, such as account notifications and password resets.
  • Manage and automate marketing email campaigns.
  • Track email performance and user engagement.
  • Monitor email analytics directly within your project.

Integrating the SendGrid API

Get the SendGrid API key

  • Navigate to SendGrid.
  • Sign in to your SendGrid account (or create one if you haven’t already).
  • Once signed in, locate the API key section by accessing the account dashboard or searching for SendGrid API in the documentation. You can also head to the SendGrid documentation from here.
  • Follow the prompts to generate a new API key:
    • click on the API key option,
    • name your API key,
    • set the desired permissions, and then
    • click to create or view your key.
  • Copy and securely store the generated API key, which is displayed only once.

Adding the SendGrid API key to your project

  • Log in to your JDoodle.ai account and open the desired project.
  • Locate the Integration Panel at the top right corner (beside the Publish button).
  • Select or search for the SendGrid integration option and paste your copied API key into the designated field.
  • Refresh your project to activate the integration and start using SendGrid's capabilities.

Troubleshooting

If the API key is not working, here are a couple of things you can do:

  • Double-check that the API key is copied correctly.
  • Remove the key from the Integration Panel and paste it again.
  • Refresh your project after re-adding the key.
  • Submit a new prompt to check if the key is active. If you're still facing troubles, find bugs, or need additional help, feel free to post in our community to get help.

Safety note

Do not share your API key in any public or insecure channels to ensure the security of your account.