Twilio Integration
Learn how to integrate your Twilio account with NLPearl.AI and use your Twilio phone numbers.
Integrate your Twilio account with NLPearl.AI to use your existing Twilio phone numbers on our platform. This integration allows you to leverage your Twilio numbers for inbound and outbound campaigns, providing access to a wide range of phone numbers from various countries while ensuring compliance with local regulations.
How to Integrate Your Twilio Account
Follow these steps to integrate your Twilio account with NLPearl.AI:
-
Access Settings:
- Click on the Settings icon located at the bottom left corner of the NLPearl.AI dashboard.
-
Navigate to Phone Numbers Tab:
- In the Settings menu, select the Phone Numbers tab.
-
Add Phone Number:
- Click on the Add Phone Number button.
-
Connect to Twilio:
- Choose the Connect to Twilio option. You have two methods to connect your Twilio account:
Option 1: Using Account SID and Auth Token
- Account SID: Enter your Twilio Account SID.
- Auth Token: Enter your Twilio Auth Token.
Option 2: Using Account SID, API Key SID, and API Secret Key
- Account SID: Enter your Twilio Account SID.
- API Key SID: Enter your Twilio API Key SID.
- API Secret Key: Enter your Twilio API Secret Key.
-
Submit Credentials:
- After entering the appropriate credentials, click on Continue.
-
Verify Credentials:
- If your credentials are correct, you’ll proceed to the next page displaying your Twilio phone numbers. If not, you’ll be prompted to re-enter your credentials.
Importing Your Twilio Phone Numbers
Once connected, you can import your Twilio phone numbers:
-
List of Phone Numbers:
- A list of all phone numbers associated with your Twilio account will be displayed.
-
Select Phone Numbers to Import:
- Click on the Add button next to each phone number you wish to import to NLPearl.AI.
-
Finish Importing:
- After selecting your desired phone numbers, click on Finish. The selected phone numbers will now be available in your NLPearl.AI account. If you forgot to import any phone numbers or have purchased new ones in your Twilio account, you can return to this list at any time to import additional phone numbers.
Managing Multiple Twilio Accounts
If you have multiple Twilio accounts with different phone numbers:
- Change Account:
- In the Twilio integration page, click on Change Account to enter the credentials of another Twilio account.
- This action won’t affect the phone numbers you’ve already imported from previous accounts.
- You can switch between accounts to import additional phone numbers as needed.
Deleting Phone Numbers
To remove a phone number from NLPearl.AI:
-
Access Phone Numbers Tab:
- Go to the Phone Numbers section in your Settings.
-
Delete Phone Number:
- Click on the Delete button next to the phone number you wish to remove.
-
Confirm Deletion:
- Confirm the deletion. The phone number will be removed from your NLPearl.AI account immediately.
Note: Deleting a phone number from NLPearl.AI 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:
-
Log in to Twilio Dashboard:
- Access your Twilio account and navigate to the dashboard.
-
Access Voice Settings:
- Click on Voice in the left-hand menu.
-
Select General Settings:
- Under the Voice section, select General.
-
Disable HTTP Basic Authentication:
- Scroll down to the HTTP Basic Authentication for media access section.
- Click on Disable to turn off this setting.
-
Save Changes:
- Click on Save to apply the 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.
Important Considerations
-
Phone Number Management:
- Purchase and manage phone numbers through your Twilio account. NLPearl.AI allows you to use these numbers within our platform.
-
Removing Phone Numbers:
- Deleting a phone number from NLPearl.AI doesn’t affect its status in your Twilio account.
-
Running Activities:
- Before deleting a phone number from NLPearl.AI, ensure it’s not assigned to any active campaigns or activities to prevent disruptions.
Using Twilio Integration for Wider Availability
Integrating with Twilio allows you to access a broader range of phone numbers, especially from countries with specific regulations. By directly contacting Twilio to purchase these numbers, you can ensure compliance and expand your reach.
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.