# Agora RTT Web Demo
## Prepare
* node version 18+ , 20+
## Config
See [Get Started with Agora](https://docs.agora.io/en/video-calling/reference/manage-agora-account?platform=web#get-started-with-agora) to learn how to get an App ID and App Certificate. (Certificate must be turned on)
Activate RTM permissions in the console
Contact technical support to activate RTT permissions
- You can get help from intelligent customer service or contact sales staff [Agora support](https://agora-ticket.agora.io/)
- Send an email to [support@agora.io](mailto:support@agora.io) for consultation
Find `.env` file and fill in the following parameters correctly
```bash
VITE_AGORA_APP_ID=
VITE_AGORA_APP_CERTIFICATE=
```
## Install
In the project root path run the following command to install dependencies.
```bash
npm install
```
## Dev
Use the following command to run the sample project.
```bash
npm run dev
```
## Build
Use the following command to build the sample project.
```bash
npm run build
```