/bolt-ai-integration

Bolt.new AI and Sendinblue integration: Step-by-Step Guide 2025

Learn how to integrate Bolt.new AI with Sendinblue in 2025 with this clear step-by-step guide to streamline workflows and automate campaigns.

Matt Graham, CEO of Rapid Developers

Book a call with an Expert

Starting a new venture? Need to upgrade your web app? RapidDev builds application with your growth in mind.

Book a free No-Code consultation

How to integrate Bolt.new AI with Sendinblue?

You integrate Bolt.new with Sendinblue (now called Brevo) the same way any full‑stack app does: you call Brevo’s REST API from the Bolt.new server environment using your API key stored in environment variables. Bolt doesn’t have a built‑in “Sendinblue connector”. You create the integration yourself by writing a small API route inside Bolt’s backend and using Brevo’s official endpoints (usually via simple fetch/axios calls). That’s the entire pattern.

The flow is: you place your Brevo API key in Bolt’s environment variables, write a backend route that talks to Brevo’s transactional email API, then call that route from your frontend or from Bolt’s AI-generated components. Everything else (email templates, contact lists, automations) is handled in the Brevo dashboard.

 

What you actually need

 

  • A Brevo (Sendinblue) API key — found at https://app.brevo.com/settings/keys
  • A Bolt.new project with server-side code enabled
  • One environment variable: BREVO_API_KEY
  • A backend route that sends the email via Brevo’s REST API

 

Step-by-step: How to integrate Bolt.new with Sendinblue/Brevo

 

This is the clean, real, production-valid approach.

  • Put your API key in Bolt.new env vars
    In Bolt, open your project settings → environment → add:
    BREVO_API_KEY = your_real_api_key_here
  • Create a backend route that calls Brevo’s email endpoint
    This is a standard Node backend file in Bolt.

 

// backend/sendEmail.js

import express from "express";
import fetch from "node-fetch";

const router = express.Router();

router.post("/send-email", async (req, res) => {
  const { to, subject, html } = req.body;

  // Brevo's transactional email API endpoint
  const url = "https://api.brevo.com/v3/smtp/email";

  try {
    const response = await fetch(url, {
      method: "POST",
      headers: {
        accept: "application/json",
        "api-key": process.env.BREVO_API_KEY,   // secure API key from Bolt env vars
        "content-type": "application/json"
      },
      body: JSON.stringify({
        sender: { name: "Your App", email: "[email protected]" },
        to: [{ email: to }],
        subject: subject,
        htmlContent: html
      })
    });

    const data = await response.json();

    if (!response.ok) {
      return res.status(500).json({ error: data });
    }

    res.json({ success: true, brevoResponse: data });
  } catch (err) {
    res.status(500).json({ error: err.message });
  }
});

export default router;

 

  • Register the route in your backend index

 

// backend/index.js

import express from "express";
import sendEmailRoute from "./sendEmail.js";

const app = express();
app.use(express.json());

app.use("/api", sendEmailRoute);

export default app;

 

  • Call this backend route from your frontend

 

// frontend example (React component or Bolt-generated UI)

async function sendTestEmail() {
  const res = await fetch("/api/send-email", {
    method: "POST",
    headers: { "Content-Type": "application/json" },
    body: JSON.stringify({
      to: "[email protected]",
      subject: "Hello from Bolt + Brevo",
      html: "<p>Integration successful!</p>"
    })
  });

  const data = await res.json();
  console.log(data);
}

 

Important notes the junior dev must understand

 

  • Bolt.new never directly stores your API key in code. It stays in environment variables.
  • You never call Brevo directly from the frontend because that would expose your API key.
  • No SDK required. Brevo’s REST API works with plain HTTP fetch.
  • Templates are optional. You can send raw HTML or reference Brevo template IDs by adding templateId.
  • The backend route acts as your secure gateway between Bolt’s frontend and Brevo.

That’s the actual, real‑world way to integrate Bolt.new with Sendinblue/Brevo: store the API key in env vars, create a backend route, call Brevo’s REST endpoint, and trigger that route from your UI or AI agents inside Bolt.

Want to explore opportunities to work with us?

Connect with our team to unlock the full potential of no-code solutions with a no-commitment consultation!

Book a Free Consultation

Client trust and success are our top priorities

When it comes to serving you, we sweat the little things. That’s why our work makes a big impact.

Rapid Dev was an exceptional project management organization and the best development collaborators I've had the pleasure of working with. They do complex work on extremely fast timelines and effectively manage the testing and pre-launch process to deliver the best possible product. I'm extremely impressed with their execution ability.

CPO, Praction - Arkady Sokolov

May 2, 2023

Working with Matt was comparable to having another co-founder on the team, but without the commitment or cost. He has a strategic mindset and willing to change the scope of the project in real time based on the needs of the client. A true strategic thought partner!

Co-Founder, Arc - Donald Muir

Dec 27, 2022

Rapid Dev are 10/10, excellent communicators - the best I've ever encountered in the tech dev space. They always go the extra mile, they genuinely care, they respond quickly, they're flexible, adaptable and their enthusiasm is amazing.

Co-CEO, Grantify - Mat Westergreen-Thorne

Oct 15, 2022

Rapid Dev is an excellent developer for no-code and low-code solutions.
We’ve had great success since launching the platform in November 2023. In a few months, we’ve gained over 1,000 new active users. We’ve also secured several dozen bookings on the platform and seen about 70% new user month-over-month growth since the launch.

Co-Founder, Church Real Estate Marketplace - Emmanuel Brown

May 1, 2024 

Matt’s dedication to executing our vision and his commitment to the project deadline were impressive. 
This was such a specific project, and Matt really delivered. We worked with a really fast turnaround, and he always delivered. The site was a perfect prop for us!

Production Manager, Media Production Company - Samantha Fekete

Sep 23, 2022