JavaScript
Configure a Vonage Video Application
For our video application to work, we need a way for our client and server to talk to the Vonage servers. 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:
- Click on "Applications" under "Build."
- Click on "Create a new application."
- Give the application a name, like "Basic Video Demo."
- Click on "Generate public and private key", which will have you download a file named
private.key. Keep track of this file for later. - Scroll down and toggle on "Video". We will leave these values empty for now.
- Click on "Generate new application" to create the application.
Once the application is created, note the Application ID. We will need this when we configure our application in later steps.
Basic text chat
Follow this tutorial to build basic text chat from scratch using the Vonage Video API. It is the quickest way to build a proof of concept for this functionality on the video platform.
Steps
1
Overview2
Before You Begin3
Configure a Vonage Video Application4
Creating the Project Folders and HTML Template5
Setting Up Authentication6
Connecting to the Session7
Sending a Signal8
Receiving a Signal9
Testing your Code in a Browser10
A little bit of CSS customization11
Conclusion