Quickstart
Verify a sending domain, create an API key, and send your first email.
This guide takes you from a new project to a delivered email. You need access to your domain's DNS settings.
Add a sending domain
In the dashboard, open Email → Domains and add a subdomain you control, such as
mail.example.com. Nexiom Connect sends from subdomains so your root domain's existing email keeps working.You can also create the domain with the API.
Publish the DNS records
Copy each record shown for the domain into your DNS provider: the DKIM records, the bounce-handling MX and SPF records, and the optional DMARC record. Use the exact names and values from your dashboard.
Records usually propagate within minutes. Nexiom Connect re-checks pending domains automatically, and you can select Check status at any time. Provider-specific steps are in DNS provider setup.
Create an API key
Open API keys and create a key with the Email send only permission. Copy the key when it is shown — it starts with
nc_and is displayed only once.Store it as an environment variable on your server:
NEXIOM_API_KEY=nc_your_api_keySend an email
Send from an address on your verified domain. The
Idempotency-Keyheader makes the request safe to retry.import { NexiomConnect } from '@nexiom/connect'; const nexiom = new NexiomConnect({ apiKey: process.env.NEXIOM_API_KEY }); const { data, error } = await nexiom.emails.send( { from: 'hello@mail.example.com', to: 'reader@example.com', subject: 'Welcome', text: 'Thanks for joining us.', }, { idempotencyKey: 'welcome-user-123' }, ); if (error) { throw new Error(error.message); } console.log(data.messageId);A
202 Acceptedresponse means the email is queued. It includes amessageIdand one delivery ID per recipient.Check the delivery
Open Email → Email logs to see the delivery move from
queuedtodelivered, or retrieve it with the API. To be notified instead, add a webhook foremail.deliveredandemail.bounced.