Getting StartedBeginner

Connect Your First Channel

Step-by-step guide to connecting WhatsApp, SMS, or email to DMHub so you can start receiving and sending messages.

4 min readUpdated April 10, 2025

Before you start

You'll need credentials from the messaging provider. DMHub supports:

  • WhatsApp Business API via Twilio or Meta directly
  • SMS via Twilio
  • Email via Resend
  • Web Widget — no credentials needed, generates a script tag

Step 1: Go to channel settings

Navigate to /settings/channels. You'll see all available channel types.

Step 2: Choose your channel

WhatsApp (fastest path)

  1. Click WhatsApp → Connect via Twilio
  2. Paste your Twilio Account SID and Auth Token — found at console.twilio.com
  3. Paste your Twilio WhatsApp sender number (format: whatsapp:+1XXXXXXXXXX)
  4. Click Save & Test
  5. Send a WhatsApp message to that number — it should appear in your inbox within seconds

SMS

  1. Click SMS → Connect via Twilio
  2. Paste your Twilio Account SID, Auth Token, and SMS-enabled phone number
  3. DMHub auto-configures the webhook on your Twilio number
  4. Click Save & Test

Email

  1. Click Email → Connect via Resend
  2. Enter your Resend API key and the "from" address you want to use
  3. Configure your DNS records (Resend provides the values)
  4. Click Save & Test

Web Widget

  1. Click Web Widget → Generate
  2. Copy the <script> tag
  3. Paste it before </body> on your website:
<script
  src="https://www.dmhub.ai/widget.js"
  data-inbox="your-inbox-id"
  async>
</script>

Step 3: Verify the connection

Send a test message through your connected channel. Check the /inbox — you should see the conversation appear within 5 seconds.

Troubleshooting

If the test message doesn't arrive, check:

  • Webhook URL is set correctly on your provider's dashboard
  • Credentials are valid (try a fresh copy-paste)
  • See Why are my messages failing? for detailed diagnostics
setupchannelsonboarding

Was this article helpful?

Let us know if this answered your question or if you need more help.

Send feedback
Connect Your First Channel | DMHub Help