Requirements
- Node.js 18+ and TypeScript installed
- A verified sending domain. See Add a sending domain.
- A valid API key. See Generate your API key.
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:
