This article explains how to connect YakChat to your Bandwidth telephony service using Bandwidth’s Version 2 Messaging API. Follow the steps below to configure your Bandwidth account and integrate it with YakChat.
YakChat integrates with Bandwidth using Bandwidth's Version 2 Messaging API. Follow the steps below to configure your Bandwidth account and connect it to YakChat.
YakChat can connect to your Bandwidth telephony service in five easy steps:
Once you submit your connection details, the YakChat team will test the connection and confirm when the integration has been successfully configured.
Step 1: Enable SMS on Bandwidth
To connect YakChat to your Bandwidth telephony service, contact Bandwidth and ensure SMS is enabled with HTTPS API (Version 2).
Note: New Bandwidth provider accounts should use Version 2 messaging.
Go to your Bandwidth Account page and make a note of your Account Number.
This is seven-digit number usually beginning with a 5
Important: Use your Account Number, not the Global Account Number prefixed with “BW”. You will need this Account Number when completing Step 5.
Step 2: Generate API Credentials
Once SMS with HTTPS API (Version 2) has been enabled, generate API credentials through the Bandwidth Portal.
Bandwidth will generate:
Important: The Client Secret is only displayed once when it is first generated. Be sure to save it securely before continuing. After it is saved, Bandwidth will no longer display it.
Make a note of both the Client ID and Client Secret, as they will be required when completing Step 5.
Step 3: Configure a Bandwidth Application
To configure SMS settings, create a new Application in the Bandwidth Portal.
After the Application has been created, make a note of the Application ID. You will need this value when completing Step 5.
Configure Callback Authentication
Bandwidth requires authentication for inbound and status callbacks. Open the Application you created and configure the following:
Important: The Inbound Callback Username and Password must be identical for both inbound and status callbacks.
Make a note of the following information:
Step 4: Configure a Location and Assign Phone Numbers
Bandwidth requires phone numbers to be assigned to a Location before SMS messaging can be configured.
Create a New Location
|
SMS Enabled
|
On
|
|
Toll Free
|
Optional
|
|
Short Codes
|
Optional
|
|
Geographic Reach
|
Select the appropriate region
|
|
SMS Protocol
|
HTTP
|
|
V2 Messaging
|
On
|
|
Application
|
Select your Application
|
|
MMS Enabled
|
On
|
Click Save.
Assign a New Phone Number to the Location
Move an Existing Phone Number to the Location
Note: Existing phone numbers must be assigned to the Location containing your Messaging configuration before they can be used with YakChat.
Step 5: Submit Your Connection Details
Information Required by YakChat
Before submitting your request, ensure you have the following information available:
Provide the following information to YakChat:
Test Phone Number: A phone number added to this service provider to confirm configuration.
Once your information has been submitted, the YakChat team will test the connection and confirm when the integration is complete.
This information is required for YakChat to complete and validate your Bandwidth integration successfully.