Configure a Vonage Application

For our video application to work, we need a way for our client and server to talk to the Vonage servers. Code Hub configures this for us, but if you are running the code locally or want to know what that entails a Video app is configured just like another other API. We need to set up a Vonage Application to house all of the configuration for our application, as well as help generate the necessary items for us to do authentication.

Head on over to your Vonage Customer Dashboard and log in. Once you are logged in:

  1. Click on "Applications" under "Build."
  2. Click on "Create a new application."
  3. Give the application a name, like "Basic Video Demo."
  4. Click on "Generate public and private key", which will have you download a file named private.key. Keep track of this file for later.
  5. Scroll down and toggle on "Video". We will leave these values empty for now.
  6. Click on "Generate new application" to create the application.

Once the application is created, note the Application ID. If you are running the code locally we will need this to configure the backend. If you are using Code Hub, the server code already has access to the Application ID and Private Key.