Installation
Install the Transactional SDK in your project.
Installation
Install the Transactional SDK using your preferred package manager.
npm
npm install transactional-sdkyarn
yarn add transactional-sdkpnpm
pnpm add transactional-sdkConfiguration
After installation, initialize the client with your API key:
import { Transactional } from 'transactional-sdk';
const client = new Transactional(process.env.TRANSACTIONAL_API_KEY);Environment Variables
We recommend storing your API key as an environment variable:
# .env
TRANSACTIONAL_API_KEY=your-api-key-hereNext Steps
Now that you have Transactional installed, check out the Quick Start guide to send your first email.