Getting started
3rd Party App Intergration
Vapi Voice Agent
3 min
1\ buy / assign a twilio phone number log into the twilio console go to phone numbers → buy a number (or choose an existing number) ensure the number supports voice / voice calls note the phone number , account sid , auth token 2\ create a tool in vapi voice agent go to the official website of the vapi voice agent and create an account if you haven’t already once your account is created, you will be redirected to the assistants dashboard in the left side panel, navigate to the tools section click create tool when prompted, select function tool as the tool type after creating the function tool, you will see the tool information panel on the right side of the screen fill in the following required fields tool name – enter a clear and descriptive name for your tool description – briefly describe the purpose or function of this tool in the parameters panel, click add property provide the following details for the property name – enter the property name type – select string description – add a short explanation of what this property represents once all fields are completed, click apply 3\ setup ngrok for local to live hosting the vapi voice agent works only with a live (publicly accessible) host since your application runs on a local server , you’ll need to expose it to the internet to achieve this, use ngrok , a tunneling tool that converts your local host into a temporary live url follow these steps download and install ngrok from https //ngrok com/ open your terminal or command prompt run the following command to start ngrok ngrok http 3000 (replace 3000 with your local server’s running port ) ngrok will generate a public https url — for example https //abcd1234 ngrok io this url forwards all requests to your local app copy this ngrok live url — it will be used later to configure webhooks or callback urls in the vapi dashboard 4\ configure the server url in vapi dashboard after running ngrok , it will generate a public https url — for example https //abcd1234 ngrok io copy this generated public url go to the vapi dashboard and navigate to the server settings section (usually found under the configuration or setup area) in the server url field, paste the public https url you copied from ngrok after pasting the url, add the following path at the end /api/vapi/webhook example https //abcd1234 ngrok io/api/vapi/webhook next, scroll to the message section under the request start configuration set the request start option to custom then, enable the checkbox “wait for message to be spoken before triggering tool call ” once these settings are configured, click save or update to apply the changes