Requirements
- Node.js 18+ and TypeScript installed
- A domain that has been verified for sending emails
- A valid API Key. You can generate one in your Nuntly dashboard.
Install the SDK
Make sure you’ve installed the Nuntly SDK:Initialize the SDK
To start using the Nuntly SDK, you need to initialize it with your API key. Here’s a basic example of how to do this in a TypeScript project:'YOUR_API_KEY_HERE' with your actual API key from the Nuntly dashboard.
For a better security practice, consider using environment variables to store your API key:
