# Alert Module Setup

1\. Create a Twilio account, use [**this link**](https://nexusbot.io/twilio) to get **$10 of free credit**.                                                                                                                           2. Click on **Upgrade project**, this will cost $20 but you'll be able to use them to pay for texts.

![Upgrade project button referred to in point 2](https://1501270559-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MLdEj1zzd3YvwG1ITZm%2F-MRdcf9aMlGzaLZ8Uxwn%2F-MRdg4EBSjxqkexM8I0f%2FScreenshot%202021-01-22%20at%2011.42.35.png?alt=media\&token=c8637b5b-cc39-498b-aca9-796118ae6b19)

3\. Copy **Account SID** and **Auth Token** and paste in Nexus dashboard.&#x20;

![Account SID and Auth Token referred to in point 3](https://1501270559-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MLdEj1zzd3YvwG1ITZm%2F-MRdgNmpKpUM-C0xHoTh%2F-MRdgs89or02Og-QVxc1%2FScreenshot%202021-01-22%20at%2011.44.24.png?alt=media\&token=2f4b1148-3799-4ab8-b012-ab07ae924620)

4\. Create a **Messaging Service** in [**this page**](https://www.twilio.com/console/sms/services).                                                                                                                                                                          5. Once you've created a messaging service, copy its **SID** and input it in Nexus dashboard.

![Messaging Service and its SID referred to in point 5](https://1501270559-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MLdEj1zzd3YvwG1ITZm%2F-MRdi8jSUvKh2ydREA7g%2F-MRdiwdBoyUFc2iGEEYO%2FScreenshot%202021-01-22%20at%2011.54.10.png?alt=media\&token=afd8c176-2f22-4f95-9548-5e531c8770da)

6\. Click on the messaging service that you just created and navigate to **Sender Pool**, then click on **Add Senders**.

7\.  If you don't have any, click on **Buy more numbers** and you'll be able to purchase them - [**quick link**](https://www.twilio.com/console/phone-numbers/search).                                                                                               Here's what you'll need to search in order to find the correct numbers.&#x20;

![Example number search referred to in point 7](https://1501270559-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MLdEj1zzd3YvwG1ITZm%2F-MRdk0Mr7q4qGkAA0CWR%2F-MRdk282fyDhcLg5Eq-t%2FScreenshot%202021-01-22%20at%2011.59.08.png?alt=media\&token=490e2c61-a3f4-4d48-89fc-8621355ab599)

{% hint style="info" %}
Purchase **US Local Phone Numbers**, they work everywhere and are the cheapest option.
{% endhint %}

8\. After purchasing the numbers you need, follow **point 6**.                                                                                                                                                   9. At this point your Nexus dashboard should look like the image below.

![Nexus Dashboard referred to in point 9](https://1501270559-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MLdEj1zzd3YvwG1ITZm%2F-MRdlMAPIa0QBY8G5Md2%2F-MRdlvRcfwUEJcDmTAvN%2FScreenshot%202021-01-22%20at%2012.05.05.png?alt=media\&token=5a4d516e-0def-4bb7-8a98-1ab80f9cbb09)

10\. You need to input a **Log Channel** and decide wether you want to activate **OTP** (details below). After that hit **Save** and you're done.

{% hint style="info" %}
**One Time Password or OTP** is a numeric code sent to the user's phone number and then required by the bot to ensure validity of said phone number.
{% endhint %}

{% hint style="danger" %}
**Never share Twilio SIDs with anyone who isn't from Nexus.**
{% endhint %}
