vonage users create `
--name='Alice'
✅ Creating User
User ID: USR-00000000-0000-0000-0000-000000000000
Name: Alice
Display Name: Not Set
Image URL: Not Set
Time to Live: Not Set
Channels:
None Set
JavaScript
Create the Users
Each participant in a Conversation is represented by a User object and must be authenticated by the Client SDK. In a production application, you would typically store this user information in a database.
Execute the following commands to create two users, Alice and Bob who will log in to the Vonage Client and participate in the Conversation.
vonage users create ^
--name='Alice'
✅ Creating User
User ID: USR-00000000-0000-0000-0000-000000000000
Name: Alice
Display Name: Not Set
Image URL: Not Set
Time to Live: Not Set
Channels:
None Set
vonage users create \ --name='Alice' ✅ Creating User User ID: USR-00000000-0000-0000-0000-000000000000 Name: Alice Display Name: Not Set Image URL: Not Set Time to Live: Not Set Channels: None Set
vonage users create `
--name='Bob'
✅ Creating User
User ID: USR-00000000-0000-0000-0000-000000000000
Name: Bob
Display Name: Not Set
Image URL: Not Set
Time to Live: Not Set
Channels:
None Set
vonage users create ^
--name='Bob'
✅ Creating User
User ID: USR-00000000-0000-0000-0000-000000000000
Name: Bob
Display Name: Not Set
Image URL: Not Set
Time to Live: Not Set
Channels:
None Set
vonage users create \ --name='Bob' ✅ Creating User User ID: USR-00000000-0000-0000-0000-000000000000 Name: Bob Display Name: Not Set Image URL: Not Set Time to Live: Not Set Channels: None Set
Making an app to app voice call
Make a voice call from one web app User to another web app User using the JavaScript Client SDK.
Steps
1
Introduction to this task2
Prerequisites3
Create a webhook server4
Create a Vonage Application5
Create the users6
Generate JWTs7
Install Client SDK8
Create the code to make an in-app voice call9
Create the code to receive an in-app voice call10
Run your application11
What's next?