Kotlin

Create your Vonage Application

In this step you will create a Vonage Application capable of in-app voice communication use cases.

Open a new terminal and, if required, navigate to your project directory.

Create a Vonage application by copying and pasting the command below into terminal:

Now that your Vonage Application has been created, update your CLI auth with the Application ID and Private Key:

Next, configure the webhooks on your Vonage Application. Make sure to change the values of --voice-answer-url and --voice-event-url arguments, by replacing the URLs with https://SUBDOMAIN.loca.lt/voice/answer and https://SUBDOMAIN.loca.lt/voice/event respectively. SUBDOMAIN is the actual value used in the previous step:

NOTE: Information about your application, including the Application ID, can also be found in the Dashboard.