# The app you built can send email

Connect Bird as a chat connector and Lovable builds with live context. The app it writes sends with one API key, stored as a secret, from the first preview.

## Connect Bird, then ask for the email

Connecting Bird over MCP hands the agent the tools to finish the setup itself: it mints the key, stores it, and proves the send. Your own domain is the step before launch, not before the first test.

**lovable.dev**

Connectors → + → MCP server

- Server name: Bird
- Server URL: https://mcp.bird.com
- Authentication: OAuth

Add & authorize opens the consent screen. Approve it and the connector is ready in the chat.

**in the chat**

```bash
> Add Bird email to this app. Create an API key for it,
> store it as a project secret, and send me a test from
> onboarding@messagebird.dev so I can watch it land.

# Lovable mints the key over MCP; it never passes through the chat
```

**in the chat**

```bash
> Add acme.dev as a sending domain and give me the DNS
> records to publish. Once they resolve, verify it and
> switch the from address to hello@acme.dev.

# Lovable creates the domain, reads the records back and
# verifies over MCP. Nothing to do in the dashboard.
```

## Three things and it works. Lovable talks to Bird over MCP while it builds. The app it ships talks to Bird with these three.

- A key, kept server-side. One key carries the region and the permissions. Store it as a secret so it never reaches the browser.
- A sender you are allowed to use. Start on the onboarding domain, move to your own when you launch. Sending from an unverified domain bounces.
- One call per message. The SDK reads the region from your key, so there is no host to configure. A send returns accepted, and delivery follows.

### What to ask for

- Email a confirmation when someone joins the waitlist.
- Send the order receipt after checkout, with the line items in it.
- Verify phone numbers at signup with a code over SMS.
- Text the customer when their order ships.
- Show delivery status on the admin page, updated from Bird's webhooks.