Skip to main content

Prerequisites

Before you begin, make sure you have:
  • An active Revenueable 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 Revenueable 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 Revenueable 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

Widget Positioning

Control where the widget appears on your page. Supported from v1.0.19+.

Fixed Mode (Default)

The widget floats over your page, fixed to the browser viewport. No additional setup required.

Absolute Mode

Embed the widget inside a specific container on your page. Step 1: Add a container with the required ID
Step 2: Enable absolute positioning

Trigger Button Customization

Customize the floating action button that opens the widget. Supported from v1.0.19+.

Button Styles

Custom Icon

Widget Events

Subscribe to widget events and perform your custom actions based on them. Supported from v1.0.17.

Usage