Embedding Web Call Assistant
This tutorial will guide you through the process of embedding a Ringg AI voice assistant on your website
Prerequisites
Before you begin, make sure you have:
-
An active Ringg AI account
-
Your API key (X-API-KEY)
-
An assistant configured for web calls
-
Access to modify your website’s HTML
Execution
Step 1: Configure Your Assistant for Web Calls
-
Open your assistant in the Ringg AI dashboard
-
Navigate to the assistant settings
-
Configure the WebCall Settings section
-
Add your website domain to the Whitelist Domains list
Step 2: Get the Embed Code
-
Open your assistant in the Ringg AI dashboard
-
Click the Embed button in the top right corner
-
Copy the provided code snippet
The embed code will look similar to this:
Step 3: Customize the Embed Code
Modify the configuration object to customize the appearance and behavior of the Web Call assistant:
Step 4: Add the Code to Your Website
Paste the embed code into your website’s HTML, preferably just before the closing </body>
tag.
Step 5: Configure CDN Permissions
If your website uses Content Security Policy (CSP), add the following CDN links to your security policies:
Step 6: Test the Integration
-
Visit your website
-
Look for the Web Call button (typically in the bottom right corner)
-
Click the button to start a call
-
Speak to test the voice interaction