# Connecting Twilio

To connect Twilio, you first need to retrieve your **Account SID**, **Auth Token**, and ensure you have an active **Twilio phone number**.

**Purchase a Phone Number**

Make sure your Twilio account has an active phone number:

1. Log in to your **Twilio** dashboard.
2. Go to **Phone Numbers → Manage → Buy a Number**.
3. Purchase a number that supports **SMS**.
4. This will be used to send messages from Highlightcards.

**Log In to Twilio**

Go to your main **Twilio Dashboard**.

You will see:

* **Account SID**
* **Auth Token**

These are required for the Highlightcards integration.

**Copy Your Credentials**

Copy both:

* Account SID
* Auth Token

You will paste them into Highlightcards in the next steps.

<figure><img src="https://3521983700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0bs7G2SF7Qp4SsSMsJsJ%2Fuploads%2FIGWDeLHgrsZzidQUcUO1%2F1.png?alt=media&#x26;token=16c54143-7894-4152-a6eb-4112852df496" alt=""><figcaption></figcaption></figure>

**Add Twilio to Highlightcards**

> Highlightcards > Left-Hand Menu > [**Account Settings**](https://app.highlightcards.co.uk/settings) > [**Services**](https://app.highlightcards.co.uk/settings/services)

Follow the above-mentioned workflow to land on the **Services** tab.

1. In the **Twilio** box, click **Connect Account**.
2. A form will appear asking for:
   * **Account SID**
   * **Auth Token**
   * **Phone Number** (the Twilio number you purchased)
3. Copy and paste your Twilio details into the corresponding fields.
4. Click **Connect**.

If everything is correct, the Twilio connection will be added successfully.

<figure><img src="https://3521983700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0bs7G2SF7Qp4SsSMsJsJ%2Fuploads%2FzhJ7t19VDdYlB4CSfJRM%2F2.png?alt=media&#x26;token=81fdd271-af58-48ca-96ad-bbf5759d10e1" alt=""><figcaption></figcaption></figure>

#### **Send a Test SMS**

After connecting, you will see a **Send Test Message** button.

1. Enter your phone number.
2. Click **Send Test Message**.
3. Check your device to confirm delivery.

If the test SMS arrives, your Twilio setup is active.

Your Twilio integration is now complete.
