# SMS via Twilio

## Getting started

This guide assumes you've followed our [Getting Started](getting-started-with-notifications) documentation to know where you can configure your notifications.

Oh Dear sends the SMS through your own [Twilio](https://www.twilio.com) account. Twilio bills you for each message. Prefer Vonage? We support [SMS via Vonage](sms) too.

## What you need from Twilio

Sign in to the [Twilio Console](https://console.twilio.com). You'll find these on the home page, under **Account Info**:

- **Account SID**: starts with `AC`.
- **Auth Token**: click **Show** to see it.

You also need something to send from. Pick one:

- **From**: a phone number you bought in Twilio, like `+15551234567`. In some countries you can use a sender name instead, like `OhDear`. Twilio lists [which countries accept a sender name](https://help.twilio.com/articles/223133767-International-support-for-Alphanumeric-Sender-ID).
- **Messaging Service SID**: starts with `MG`. Use this if you send through a Twilio Messaging Service. Leave From empty in that case.

Sending to US numbers from a regular 10-digit US number? US carriers then require [A2P 10DLC registration](https://www.twilio.com/docs/messaging/compliance/a2p-10dlc). You register in Twilio and send through the Messaging Service it gives you.

## Configure Twilio in Oh Dear

Go to the [notifications screen](/team-settings/notifications) and add a new destination. Choose **SMS (Twilio)** and fill in the values from the section above. Then add:

- **To**: the phone number that gets the alerts, in international format. For example `+32470123456`.

## Testing the SMS alerts

Head over to the [Send test](send-a-test-notification-from-oh-dear) tab and send a test. If Twilio refuses the message, Oh Dear shows Twilio's error code and a link that explains it.

If the test looks fine but no SMS arrives, check the [Messaging logs](https://console.twilio.com/us1/monitor/logs/sms) in your Twilio Console. Twilio shows there why a message was not delivered.
