To generate a token using the project dashboard.
- Vonage Video API
- Log in to your Vonage Video Account.
- From the left menu, choose Projects.
- From the Projects menu, select your Video project.
- Inside the project, scroll down until you reach the Project Tools section, you will be able to see the Generate Token section.
- Paste the Session ID that you have generated in the Session ID field. Kindly see this link for creating a session ID.
- Choose the Role that you want to assign to the token. (Publisher, Subscriber, Moderator).
- Pick an expiration time for the token, maximum option is 30 days.
- Put in optional connection data that you wish to add to the token.
- Click on Generate Token.
For more information on token creation, expiration time and connection data please refer to our developer documentation on creating a token.