Documentation index for AI agents (llms.txt)
Skip to main content

ElevenLabs

Put a voice agent on your site that visitors can talk to, or turn text into speech, with your own ElevenLabs account. Usage comes out of your ElevenLabs credits.

Connect​

ElevenLabs connects with an API key. Your site uses the key too, so make a restricted one with a credit limit.

  1. Open Settings > Connectors, click ElevenLabs, then Connect.
  2. ElevenLabs' API keys page opens. Click Create Key, set a credit limit, and give it access to Text to Speech, Voices, Agents and User only. Copy it.
  3. Come back to WebTwizz. The key is picked up, checked with ElevenLabs and connected. You can also paste it into API key yourself.

If ElevenLabs rejects the key, you'll see That key was not accepted. Your first agent and its voice are picked for you, if you have one.

What you see​

  • Plan: Credits left and Credits reset, the date they renew, then your ElevenLabs plan. Credits are low shows when less than a tenth are left, since voice on the site stops when they run out. On the free plan, Free plan reminds you that it's for non-commercial use, with credit to ElevenLabs. If the key can't read your account, it says Plan is not shown: give the key User access to see this. Subscription opens ElevenLabs.
  • Agent on this site: the agent the widget talks to, and when it last had a call. It opens in ElevenLabs, and All agents opens your list.
    • Edit changes its Greeting and Instructions. Click Save, then Save again to confirm. Visitors who talk to it on your site get the new version right away.
    • If no agent is picked, or it's gone from ElevenLabs, it says to pick one under Settings.
  • Conversations: Minutes this month and Conversations this month, then recent conversations with their summary, how long they were and when. All conversations opens ElevenLabs.
    • Didn't go well marks the ones ElevenLabs judged unsuccessful. Pick Didn't go well next to All to see only those.
    • Click a conversation to see its summary, whether it Went well, When, its Length and the transcript. ElevenLabs opens it there.
    • Show more loads older ones.
  • Settings:
    • Agent: the voice agent the widget on your site talks to.
    • New agent: click Create, type an Agent name and click Create agent. WebTwizz makes it in ElevenLabs and the site uses it. It starts with a short prompt you can change.
  • At the top, next to the name, Agent opens the site's agent in ElevenLabs, or Agents opens your list when none is picked.

The agent only answers on your site​

Each agent has a list of addresses it answers on. An agent WebTwizz makes answers on your preview, your webtwizz.app address and your own domains, and the site's agent gets new addresses when yours change. If you pick an agent you made in ElevenLabs, ask the AI to let it answer on this site. ElevenLabs allows 10 addresses per agent. If there's no room, the overview says Not answering on and the address. Remove old ones in ElevenLabs, then ask the AI to add this site's.

What the AI can do​

  • Add the voice agent widget to your site, or a text to speech feature that runs on your server
  • Read your voices and agents, and which agent the widget uses
  • Create an agent for this site, or change an agent's name, prompt, first message or voice. It asks first.
  • Read recent conversations with their summaries
  • Let an agent answer on this site's addresses. It asks first.

Secrets​

  • ELEVENLABS_API_KEY: your ElevenLabs key, server-side only
  • NEXT_PUBLIC_ELEVENLABS_AGENT_ID: the agent the widget on your site talks to
  • ELEVENLABS_VOICE_ID: the voice your site's text to speech uses

Good to know​

  • Replacing the key under Account switches every project that uses it.
  • Removing ElevenLabs from a project takes its secrets out. Your ElevenLabs account, agents and voices are untouched.