How to Integrate Your Twilio Account
1
Go to Phone Numbers Settings
Start by clicking your profile card at the bottom-left corner of the sidebar, then open Settings.
From there, open the Phone Numbers tab to manage the numbers linked to your account.


2
Open the Twilio Connection
In the Phone Numbers tab, locate the Connect to Twilio row. Click Manage Twilio to open the connection panel and link your Twilio account.

3
Enter Your Twilio Credentials
The Connect your Twilio Account panel opens. A short guide on the left walks you through each value, with quick links to the right pages in your Twilio Console.Choose the method that fits your needs, fill in the fields on the right, then click Connect Twilio.
- API Credentials (recommended)
- Account SID + Auth Token
The most secure option. It uses a scoped API Key instead of your main Auth Token.

How to generate a Twilio API Key
1
Go to Twilio API Keys Settings
Visit the Twilio API Keys page in your console, then click Create API Key in the top-right corner.

2
Select Standard Key Type
Give your key a name and select Standard as the key type. Then click Create.

3
Copy the SID and Secret
Twilio now displays both the SID and the Secret.

4
Import Your Twilio Phone Numbers
Once connected, the Twilio Account screen lists every number available on your account.Click Add to account next to a number to import it into NLPearl. A confirmation message appears, and the number becomes available in your account right away. To detach a number, click Remove next to it.

You can return to this screen at any time to import additional numbers, especially after adding new ones to your Twilio account.
5
Manage or Switch Twilio Accounts
The Twilio Account screen shows the connected Account SID at the top, so you always know which account is in use.To connect a different Twilio account, use the back arrow in the top-left corner to return to the connection panel and enter new credentials.

Numbers you already imported stay linked to your NLPearl account. Switching Twilio accounts won’t affect them.
Deleting Phone Numbers
If you no longer need a phone number, you can schedule it for deletion directly from your settings.Start by going to the Phone Numbers section in your Settings. From there, locate the number you want to remove and click the Delete button next to it.
A confirmation step will appear to make sure you really want to delete the selected number. The phone number will be removed from your NLPearl account immediately.

Deleting a phone number from NLPearl does not delete it from your Twilio account. Ensure that the phone number isn’t used in any running activities before deleting it from the platform.
Disabling HTTP Basic Authentication for Media Access
To ensure full functionality, disable HTTP Basic Authentication for media access in Twilio:1
Access Twilio Voice Settings
Start by logging into your Twilio dashboard. In the left-hand navigation, click on Voice (1) to open the voice-related settings. Under the Voice section, select Settings (2), then click on General (3) to access the general voice configuration panel.

2
Disable HTTP Basic Authentication in Twilio
Once you’re in the Voice > General settings, scroll down to the HTTP Basic Authentication for media access section.Under this section, select Disabled to allow media URLs to be publicly accessible (1). Then, click the Save button at the bottom of the page (2) to apply your changes.

By disabling this setting, you ensure that NLPearl.AI can access and use media resources without authentication issues.
Advantages of Twilio Integration
- Access to Global Phone Numbers: Use phone numbers from countries not directly supported by NLPearl.AI by purchasing them through Twilio.
- Compliance with Country Regulations: Twilio handles country-specific regulations, allowing you to purchase numbers that comply with local laws.
- Leverage Existing Numbers: Utilize the phone numbers you already own in Twilio without needing to acquire new ones.
If you need assistance with the integration process or have questions about using Twilio phone numbers with NLPearl.AI, please refer to our support resources or contact our support team.



