--- title: "Three more ways to use AhaSend from your own stack: Terraform, Dart and Node.js" description: "Not every team writes Go, and not every team wants to set up a sending domain by clicking through a dashboard. There are now three more ways to work with AhaSend from the tools you already use: a Terraform provider, a Dart SDK, and our own SDK for Node.js and TypeScript. Two of the three were built by teams outside AhaSend." url: https://ahasend.com/blog/three-more-ways-use-ahasend-your-own-stack-terraform-dart-and-nodejs markdown_url: https://ahasend.com/blog/three-more-ways-use-ahasend-your-own-stack-terraform-dart-and-nodejs.md lang: en type: blog_post published: 2026-11-17 updated: 2026-11-17 author: "Mark Kraakman" category: "Product Update" image: https://cms.ahasend.com/sites/default/files/2026-11/cover-terraform-dart-nodejs.jpg --- # Three more ways to use AhaSend from your own stack: Terraform, Dart and Node.js _By Mark Kraakman, November 17, 2026, in Product Update_ ![Terraform, Dart and Node.js](https://cms.ahasend.com/sites/default/files/2026-11/cover-terraform-dart-nodejs.jpg) Not every team writes Go, and not every team wants to set up a sending domain by clicking through a dashboard. There are now three more ways to work with AhaSend from the tools you already use: a Terraform provider, a Dart SDK, and our own SDK for Node.js and TypeScript. Two of the three were built by teams outside AhaSend. ## Terraform: your email setup as code The team at [Open Social](https://www.getopensocial.com/) built a Terraform provider for AhaSend. It manages sending domains, API keys, webhooks and SMTP credentials, and for platform partners also sub-accounts and their API keys. That means a new environment gets its sending domain and credentials from the same plan as the rest of your infrastructure, and every change goes through code review. The provider works with OpenTofu too. It is maintained by Open Social and is not an official AhaSend product. You find it in the Terraform Registry as [`goalgorilla/ahasend`](https://registry.terraform.io/providers/goalgorilla/ahasend), with the source on [GitHub](https://github.com/goalgorilla/terraform-provider-ahasend). ## Dart: for Serverpod and other Dart backends The Team at [Asertion](https://www.asertion.de/) built a Dart SDK. It covers the whole Management API: messages, domains, templates, campaigns, contacts, lists, suppressions, webhooks, inbound routes, SMTP credentials, API keys, sub-accounts and statistics. It verifies webhook signatures, and it retries failed requests with an idempotency key, so a retry never sends a message twice. The README has a separate guide for Serverpod. Install it with `dart pub add ahasend`. This SDK is maintained by Asertion and is not an official AhaSend product either. The source is available on [Github](https://github.com/ASERTION/ahasend_dart_sdk). ## Node.js and TypeScript: the official SDK [`@ahasend/sdk`](https://www.npmjs.com/package/@ahasend/sdk) on npm is our own SDK for JavaScript and TypeScript. It covers the whole Management API and ships its own types, and it works just as well from plain JavaScript, as an ES module or with `require`. It runs on Node.js 22 and up, and also on Bun, Deno, Cloudflare Workers and Vercel Edge. A separate import, `@ahasend/sdk/webhooks`, verifies webhook signatures and comes with adapters for Express, Fastify and Next.js. Install it with `npm install @ahasend/sdk`. The source is on [GitHub](https://github.com/AhaSend/ahasend-ts). ## Thank you Thank you to [Open Social](https://www.getopensocial.com/) and [Asertion](https://github.com/ASERTION/ahasend_dart_sdk) for building these and sharing them. Are you building something on AhaSend yourself? Let us know at support@ahasend.com, we are happy to point other developers to it.