Prerequisites
- Create an AI Agent.
- Configure a speech provider in Manage > AI & Voice Providers. For more information, see Speech and telephony.
- Ensure Voice is active for your organization.
- For testing purposes, allow microphone access in your browser and, if needed, in your device settings.
Set up a Click To Call widget
1
Create a flow
- Go to Build > Flows, click + New Flow
- On the New Flow panel, enter a unique name for your Flow and click Create. You are redirected to the Flow editor.
- In the Flow editor, add an AI Agent Node and configure the AI Agent you previously created.
2
Configure a voice endpoint
- Go to Deploy > Endpoints, click + New Endpoint and select Voice.
- In the New Endpoint panel, configure the following:
- Name — enter a unique name, for example,
Click To Call Endpoint. - Flow — select the Flow you previously created, for example,
Click To Call Assistant. Click Save. You are then redirected to the Endpoint settings.
- Name — enter a unique name, for example,
- In the Endpoint settings, go to the Click To Call tab. In the Appearance section, configure the following:
- Activate Click To Call widget — turn on the toggle.
- Voice agent name — enter the name displayed on the Click To Call widget, for example,
Voice Support. - (Optional) Subtitle — enter the text displayed under the voice agent name on the widget, for example,
Just ask me anything!.
- Click Save. The Embedding HTML section on the same tab contains the code snippet that you can use to embed the Click To Call widget in your website.
3
Test the Click To Call widget
- In the Demo page section of the Click To Call tab, click Open demo in new tab. The demo widget opens in a new tab.
- Click
to start a call with your AI Agent.