Send emails from your Base44 app with Brevo
Send transactional email from a Base44 app through Brevo, using a backend function and a stored API key.
Overview
Base44 has a built-in SendEmail integration and an official Resend integration for external, higher-volume sending. It doesn’t have a dedicated Brevo entry in its integrations catalog. For any provider without a catalog entry, Base44’s documented path is to call the provider’s HTTP API directly from a backend function, storing the API key as a secret. This guide applies that pattern to Brevo.
Prerequisites
- A Base44 app on the Builder plan or above (backend functions and external API calls require this). On Free or Starter, Secrets and backend functions don’t appear in the app editor’s sidebar at all, so if you can’t find them, check your plan first.
- A Brevo account and a verified sender
Send email from your Base44 app
Create a Brevo API key
- In Brevo, click Settings (gear icon) in the left sidebar, then open SMTP & API > API keys & MCP (direct link: app.brevo.com/settings/keys/api).
- Click + Generate API key, name it (e.g.
Base44 app), and copy it.
Store the key as a secret
- In your Base44 app’s editor, click Dashboard.
- Click Secrets, then Add Secret.
- Name it
BREVO_API_KEYand paste your API key as the value. (You can also paste the key directly into the AI chat when it asks for one, and Base44 stores it as a Secret for you.)
Add a backend function that calls the Brevo API
Ask the Base44 AI chat to create a backend function, for example:
Create a backend function that sends an email through the Brevo transactional email API (
https://api.brevo.com/v3/smtp/email), using the BREVO_API_KEY secret in theapi-keyheader, when a new order is created.
The function body calls Brevo directly:
Troubleshooting
- Function can’t find the secret: confirm the secret name matches exactly what the function references, and that it was saved before the function last ran.
- Emails not delivered: confirm the sender address is verified in Brevo; unverified senders are rejected.
- Feature unavailable / can’t find Secrets or Code in the sidebar: backend functions and external API calls require the Builder plan or above — on Free/Starter, these items are missing from the editor’s sidebar entirely rather than showing an error.