npm i
- Run
npm run auth
to start the process. It should prompt you for email/password/token - You will see a refresh token output like
"refreshToken": "eyJhbGciOi...afa1"
. You need to extract the value from the second part of this output, between the double quotes. - Create a
.env
file in the root directory of this project and insert the following contents
RING_REFRESH_TOKEN=eyJhbGciOi...afa1
WEBHOOK_URL=https://path.to.my.webhook.com/
npm run build
npm start