Create a browser based app in RingCentral Developer Platform to get clientId, appSecret and appServer.
Just add following the following codes to your website's header. It will create a iframe in your website.
<script> (function() { var rcs = document.createElement("script"); rcs.src = "https://ringcentral.github.io/ringcentral-embeddable/adapter.js"; var rcs0 = document.getElementsByTagName("script")[0]; rcs0.parentNode.insertBefore(rcs, rcs0); })(); </script>
Create a iframe with the following codes
<iframe width="300" height="500" allow="microphone" src="https://ringcentral.github.io/ringcentral-embeddable/app.html"> </iframe>
You need to add following uri to your redirect url in app setting on developer website, if you don't config redirect widget uri.
https://ringcentral.github.io/ringcentral-embeddable/redirect.html
For full document of API and Event, please refer to here
1. Click here to set this widget's client ID and app Server in local. Enable and save.
2. Set redirect url in RingCentral Developer Platform as the app show.
In environment way, clientId and server are saved in your local storage, so it will not influence other people.
This app supports authorization code and implicit grant flows. If you only provide clientId, it will use implicit grant flow. Refer here to get more details about authorization flow.
TEL Link: +12345678888
SMS Link: +12345678901
SMS Link with Text: +12345678902
Text: +12345678901