This tutorial shows you how to quickly create a live app using the Symbl Websocket adapter with Agora Web SDK.
- Node.js LTS
- Agora Account
- Symbl App ID and Secret
This section shows you how to prepare, build, and run the sample application.
To use the Agora example application with Symbl, you'll need to:
- Create an account. You can signup at platform.symbl.ai/#/signup.
- Head to the dashboard
- Save your App Id and Secret
To build and run the sample application, get an App ID:
- Create a developer account at agora.io. Once you finish the signup process, you will be redirected to the Dashboard.
- Navigate in the Dashboard tree on the left to Projects > Project List.
- Save the App ID from the Dashboard for later use.
- Generate a temp Access Token (valid for 24 hours) from dashboard page with given channel name, save for later use.
REACT_APP_AGORA_APP_ID=<#YOUR Agora.io APP ID#>
REACT_APP_AGORA_LOG=true
SYMBL_API_BASE_PATH="https://api.symbl.ai"
SYMBL_APP_ID=<#Your Symbl.ai App Id>
SYMBL_APP_SECRET=<#Your Symbl.ai App Secret>
- Using the Terminal app, enter the
install
command in your project directory. This command installs libraries that are required to run the sample application.# install dependencies npm install
- Start the application by entering the
npm start
command.- Symbl Access Token server is started on port 8081
- Agora application is started on port 3000
- Your default browser should open and display the sample application.
Note: In some cases, you may need to open a browser and enter
http://localhost:8080
as the URL.
- You can find Symbl's full API documentation at Document Center
- For potential issues with agora, take a look at our FAQ first
- If you encounter problems during integration, you can ask questions in our Slack Developer Community
The MIT License (MIT)