# 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](/files/-MRdg4EBSjxqkexM8I0f)

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

![Account SID and Auth Token referred to in point 3](/files/-MRdgs89or02Og-QVxc1)

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](/files/-MRdiwdBoyUFc2iGEEYO)

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](/files/-MRdk282fyDhcLg5Eq-t)

{% 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](/files/-MRdlvRcfwUEJcDmTAvN)

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 %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.nexus.bot/guides/alert-module-setup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
