Embed a phone into any webpage with RingCentral Embeddable

RingCentral Embeddable provides a ready-to-use, fully-functional web phone that can be embedded into any web site. Embeddable is a javascript wrapper around the foundational RingCentral Widgets Library. By adding a few lines of javascript, anyone can embed a phone into any web page in seconds.

Quick start

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://apps.ringcentral.com/integration/ringcentral-embeddable/latest/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://apps.ringcentral.com/integration/ringcentral-embeddable/latest/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://apps.ringcentral.com/integration/ringcentral-embeddable/latest/redirect.html

For full document of API and Event, please refer to here

When loading RingCentral Embeddable for the first time, users will need to grant access to their microphone and speaker.

Prerequisites

  • A RingCentral MVP account
  • A supported browser, including:
    • Chrome
    • Microsoft Edge
    • Firefox

Setup environment of this page's online demo

1. Click here to set this widget's client ID and app Server. 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.

C2D demo

TEL Link: +12345678888

SMS Link: +12345678901

SMS Link with Text: +12345678902

Text: +12345678901