Cool, but we need to make sure it’s working. In your browser, paste in the ngrok url and you should see:



Great! We are ready to get started building our Twilio integration.

Twilio Phone Numbers

We need sign up for a free account to use Twilio’s service to obtain phone numbers. From the top left dropdown menu, select ‘create a new project’. There are many ways to customize your project settings, but for now, let’s choose to ‘skip project settings’, navigate to the Twilio Console and create a new Project:





A fundamental piece of programming with Twilio is the programmable phone number. Acquiring a Twilio number is what allows the connection between the Twilio API, your users, and your app.

We need to get a number. Under manage numbers, choose “manage numbers” and follow the prompts for getting “your first Twilio number.”

Once you have purchased (for free on a trial account) your Twilio number, return to “manage phone numbers” and click on your newly-purchased number. You should see something like:



We need to tell Twilio that we want to “send” incoming phone calls to this number, and we need to be able to do this in a development environment (i.e. probably your local machine, rather than a production server). This is where ngrok comes in handy. When someone calls this number, we want to send the caller to our app, at a specific endpoint, and then we can further build how our app interacts with the caller from there.

We can grab our ngrok address (you still have your local server and ngrok running, right?) using option webhook as our base URI and say that we will route these incoming phone calls to /messages as a GET request (except you will use your own ngrok provided base url). As in:

Great work! Time to write the code for our feedback service.

Building the Integration