Let your agent install Boundry.

Point Claude Code, Cursor, Codex or Copilot at one prompt. It reads the same reference published at boundry.dev/llms.txt, installs the SDK, sets your API key, verifies a sending domain and sends the first email.

  • llms.txt · machine-readable
  • Sydney · ap-southeast-2
  • 5 languages · TS, Python, Go, Ruby, PHP
Paste into your coding agent
Install the Boundry SDK for this project.
Read https://boundry.dev/llms.txt for the API, SDK and agent reference before writing code.
Create a project API key in the Boundry dashboard and set BOUNDRY_API_KEY on the server.
Verify a sending domain, then send one test email from it using the SDK.
Add a webhook route that verifies Boundry's signed events before processing them.

What the agent will do.

Every step below comes from Boundry's own public guides. An agent that follows the prompt above works through them in this order.

01

Install the SDK.

Every client is generated from the same OpenAPI contract and published under its own name. Pick the language this project uses.

boundry-sdk
npm install boundry-sdk
npm install boundry-sdkStep 1
Command
npm install boundry-sdk
Package
boundry-sdk
Result
Added 1 package

Published on npm, PyPI, pkg.go.dev and Packagist. The Ruby gem is a release preview.

02

Create a project and a key.

Create a project in the Boundry dashboard, then create a project API key there. Keep it on the server as BOUNDRY_API_KEY — never ship it to browser code.

Create a project and keyStep 2
Project
acme-production · Sydney
API key
Created in the dashboard
Env var
BOUNDRY_API_KEY

Keep the key on the server. It only reaches its own project and region.

03

Verify a sending domain.

A from address must belong to a domain verified in the same project. Create the domain with sending enabled, publish the DKIM record Boundry returns, then verify it.

domain.jsonJSON
JSON
{
  "name": "mail.acme.com",
  "capabilities": { "sending": true, "receiving": false }
}
Read the domain verification guide
Verify a sending domainStep 3
Domain
mail.acme.com
DKIM record
Published
Status
Verified

A from address must belong to a domain verified in this same project.

04

Send the first message.

Send from the verified domain with the SDK. The response carries a message id you can look up in the dashboard.

Send the first messageStep 4
POST
/emails
Response
200 · msg_02
Idempotency-Key
Reused on retry

The returned id is the same message you'll find in the dashboard.

05

Handle webhooks.

Create a webhook endpoint, then verify Boundry's signature before trusting a payload. Boundry signs the exact raw request bytes.

route.tsTypeScript
TypeScript
import { webhooks } from "boundry-sdk";

export async function POST(request: Request) {
  const event = await webhooks.verify(
    await request.arrayBuffer(),
    request.headers,
    process.env.BOUNDRY_WEBHOOK_SECRET!,
  );

  await queueEvent(event);
  return new Response("ok");
}
Read the webhooks guide
Handle webhooksStep 5
Endpoint
/api/webhooks/boundry
Signature
Verified
Event
email.delivered

Boundry signs the raw request body; verify it before you parse the event.

Give your agent the prompt.

Copy it once, paste it into your coding agent, and Boundry does the rest — from install to a verified send.

npm install boundry-sdk
Read the quickstart