DeckleDocs
Dashboard

Integrations · Send-through

Auth.js / NextAuth

Send magic-link and verification emails from Auth.js through Deckle.

Wire the Auth.js email provider (or the Deckle SDK) to send passwordless magic links and verification emails via Deckle.

Set it up#

  1. Generate a Deckle SMTP key below and copy it.
  2. Set the Email provider's `server` to the SMTP settings below in your Auth.js config.
  3. Use the key as the SMTP password and set `from` to your verified domain.
  4. Verify your sender domain under Domains so mail passes SPF and DKIM.

SMTP settings#

SettingValue
Hostsmtp.getdeckle.com
Port587
Usernameapikey
PasswordYour Deckle secret key

Verify your domain

Add and verify your sender domain under Domains so mail passes SPF and DKIM.
SMTP settings
Host: smtp.getdeckle.com
Port: 587
Username: apikey
Password: <your Deckle secret key>