AI Builder Guides

Base44

Add email sending with SendDart to a Base44 app using backend functions and a stored API key.

Base44 is a platform for building apps with AI. You can add SendDart to a Base44 project by asking the chat to add email sending with SendDart.

This integration requires backend functions, available on the Builder tier and above, because the API key must be used server-side.

1. Wire up email in Base44

If adding to an existing app, enable backend functions, then ask the chat:

Add SendDart email sending to my app. Prompt me to provide the API key, store
it server-side as SENDDART_API_KEY, and send a welcome email to new users by
POSTing to https://www.senddart.com/api/emails with an Authorization: Bearer header.

In Node.js backend functions you can install the official senddart SDK (npm install senddart) and call mb.emails.send(...). In other runtimes the backend function calls the SendDart Emails API over plain HTTP.

2. Add your SendDart API key

However you add email to your project, create a SendDart API key in the dashboard and store it as a backend secret named SENDDART_API_KEY.

Do not share your API key or expose it in client-side code. Keep it in a backend function secret.

3. Add a custom domain

By default you can only send email to your own address. To send to other recipients, add and verify a custom domain, then update the from field in the backend function to use an address on that domain (or ask the chat to update it).