Integrations

Connect Samva to your stack, your auth provider, your ORM, and the frameworks you already use.

Use Samva from your framework's server-side code, an authentication callback, or an existing service. Anything that can make an HTTP request can use the REST API.

Send Email from Your Framework

Start with the handler your application already uses. Each guide includes SDK setup and links to its cookbook and runnable example.

FrameworkWhere the send runsGuide
TanStack StartAuthenticated server route; server functions for app formsSend email with TanStack Start
Next.jsServer Actions and Route HandlersSend email with Next.js
Hono on Cloudflare WorkersWorker request handlerSend email with Hono
AstroActions and API endpointsSend email with Astro
SvelteKitForm actions and endpointsSend email with SvelteKit

New to Samva? Send your first email covers account setup and checking delivery before you integrate it into your application.

Receive and Reply to Email

Both runnable examples ship with a cookbook.

GoalGuideExample
Answer inbound email in the same conversationCookbookinbound-email-replies
GoalGuideExample
Give an agent its own mailboxGive an agent an inboxmailbox-agent

Authentication, Templates, and Tools

Related documentation

On this page