Swift

Create your Vonage Application

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

Open a new terminal window and create a project directory in a destination of your choice and change into it:

mkdir vonage-tutorial cd vonage-tutorial

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:

Webhooks about events in your conversation can be sent to your rtc-event-url. We will not be using them in this tutorial, so just use a sample URL with this command to enable RTC on your Vonage Application. Make sure to replace the Vonage Application ID in the command with the one you created earlier:

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