This guide will walk you through the essential steps to configure your new voice bot, from initial account creation to connecting your phone number and testing the call flow.
Prerequisites
Before you begin, please ensure you have an active account with ElevenLabs.
Part 1: Initial Bot Configuration
In this section, you'll set up the core behavior and language of your bot.
Step 1: Create and Configure Your Account
Create an Account: If you haven't already, sign up for an account with ElevenLabs.
Set Languages: Once logged in, navigate to your settings. Set both the Audio Language and Agent Language to English.
Add Additional Languages: If your bot will interact in other languages, you can add them here. This guide uses Hindi and Tamil as examples.
Step 2: Define the Bot's Personality and Logic
Manage Prompts: Go to the prompts section. This is where you will define how your bot behaves. Enter prompts to configure the bot's environment tone, personality, and the ultimate goal of its conversations.
Select the Language Model (LLM):
Choose Gemini as the Large Language Model.
Select the Gemini 2.0 Flash version for optimal performance.
Adjust the temperature setting to control the creativity of the bot's responses. A lower temperature results in more predictable answers, while a higher temperature allows for more varied responses.
Step 3: Enhance the Customer Experience
To ensure your customers hear the full initial message without being cut off, disable interruptions for the bot's first message. This setting creates a more natural and welcoming introduction.
Part 2: Connecting Your Phone Number
You have two options for routing calls to your bot: Websocket or SIP Trunking. Follow the instructions for the method you will be using.
Option A: Connect via Exotel
Select Phone Number Mapping: In your phone number settings, choose the Exotel option.
Label Your Mapping: Give your configuration a clear label, such as Exotel India +91.
Map Your Exophone: Enter the Exophone number you want to connect to the bot.
Configure Mount: Use this same Exophone number in the mount configuration to finalize the connection. The "Media encryption allowed numbers" field is optional.
Option B: Connect via SIP Trunking (FQDN-Based)
This method uses a Fully Qualified Domain Name (FQDN) for connection.
Important Note: Registration-based trunking is not supported. Do not create a SIP trunk username or password.
Import Server Settings: Begin by importing the SIP server TCP settings.
Contact Support: Share the SIP ID generated during the previous step with our support team. The team needs this ID to configure the FQDN on their end.
Obtain Trunk ID: Our support team will create an FQDN mapping using your SIP ID and Exophone number. Once they are finished, you will receive a Trunk ID from them. You must wait for this ID before proceeding.
Part 3: Finalizing and Testing Your Call Flow
Once your phone number is connected, you can configure the final call flow.
Step 4: Configure the Connect Applet
Add the Trunk ID: After receiving the Trunk ID from the support team, navigate to your Connect Applet.
Enter the Trunk ID: In the appropriate field, add your Trunk ID, prepending it with SIP:.
Example: SIP:your-trunk-id-goes-here
Enable Call Recording (Optional): If you wish to record conversations, click the "Record Call" option.
Set Up Agent Transfers (Optional): To give customers the option to speak to a live agent, add another Connect Applet and configure the call transfer settings according to your use case.
Step 5: Save and Test
Save Call Flow: Click the save button to finalize your entire configuration.
Make a Test Call: Dial the Exophone number you configured. The bot should answer and function according to your prompt and language settings.