> ## Documentation Index
> Fetch the complete documentation index at: https://www.bolna.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Migrate from ElevenLabs

> Step-by-step guide to moving your ElevenLabs Conversational AI agents, workflows, multilingual presets, knowledge bases, tools, evaluations, and batch calls to Bolna.

Move your ElevenLabs Conversational AI workspace to Bolna without rebuilding prompts, knowledge bases, or multi-step workflows by hand. Your existing ElevenLabs agents stay untouched while you test on Bolna.

## What you'll need

* **Bolna API key** — from [platform.bolna.ai](https://platform.bolna.ai) -> **Developers -> API Keys** (`bn-...`)
* **ElevenLabs API key** — from ElevenLabs -> **Profile -> API Keys** (needs access to Conversational AI)
* **Node.js 18+** (for the CLI), or an AI client connected to [Bolna MCP](https://www.bolna.ai/docs/mcp-server.md)

***

## Step-by-step migration

**1. Set your API keys**

Export both keys in your terminal so you don't paste them into commands or commit them by accident:

```bash theme={"system"}
export BOLNA_API_KEY="bn-xxxxxxxxxxxxxxxx"
export ELEVENLABS_API_KEY="sk_xxxxxxxxxxxxxxxx"
```

**2. Run a dry-run preview**

Inspect everything that will be imported from ElevenLabs — nothing is created on Bolna yet:

```bash theme={"system"}
npx -y @bolna/migrate --from elevenlabs --dry-run
```

To preview a single agent first, pass `--agent-id`:

```bash theme={"system"}
npx -y @bolna/migrate --from elevenlabs --agent-id agent_abc123 --dry-run
```

You'll see a summary of every knowledge base, agent, graph workflow, and disposition to be created, plus any items that need review:

```text theme={"system"}
=== Bolna Migration Dry-Run (elevenlabs) ===
Planned: 3 | Partial: 1 | Manual: 1 | Unsupported: 0

WILL CREATE:
  [knowledgebase] Product FAQ -> POST /knowledgebase
  [agent] Support Agent -> POST /v2/agent
  [disposition] 6 disposition(s) for agent_abc123 -> POST /dispositions/bulk

GAPS & MANUAL STEPS:
  [MANUAL] (phone_number) +14155550100: ElevenLabs-hosted phone numbers cannot be exported.
      fix: Buy a replacement number on Bolna or connect your carrier via SIP trunk.
```

**3. Apply the migration**

When the preview looks right, run the same command with `--apply` (include `--agent-id` if you filtered the dry run):

```bash theme={"system"}
npx -y @bolna/migrate --from elevenlabs --apply
# Or for a single agent:
npx -y @bolna/migrate --from elevenlabs --agent-id agent_abc123 --apply
```

Here's what happens automatically:

* **Text knowledge bases** are converted to PDF, uploaded to Bolna, and polled until indexed before your agent is created.
* **`{{variable}}` placeholders** in prompts and first messages are converted to Bolna's `{variable}` syntax.
* **ElevenLabs Workflows** are converted into Bolna [Graph Agents](https://www.bolna.ai/docs/graph-agent/introduction) *(automatically falls back to a standard agent if Graph Agents aren't enabled on your account)*.
* **Evaluation criteria and data collection** become Bolna [Dispositions](https://www.bolna.ai/docs/prompting/using-extractions).

**4. Review and test your agent in Bolna**

Open [platform.bolna.ai](https://platform.bolna.ai) and select your newly created agent:

1. **Voices**: ElevenLabs voices are supported natively on Bolna. If you use a **private/cloned ElevenLabs voice**, add your ElevenLabs key under [Providers](https://www.bolna.ai/docs/providers.md) so Bolna can access your private voice ID.
2. **Knowledge bases & Dispositions**: Check the **Knowledge Base** and **Extractions** tabs to verify your documents and post-call fields attached cleanly.
3. **Make a test call**: Run a test conversation right from Agent Studio before switching any phone numbers.

**5. Cut over (or roll back)**

Check `./bolna-migration-out/` for your generated cutover checklists (`sdk-cutover.md`, `sip-cutover.md`, `webhook-cutover.md`).

If this was just a test run and you want to clean up every created Bolna resource:

```bash theme={"system"}
npx -y @bolna/migrate --rollback ./bolna-migration-out/manifest.json
```

***

## Where everything lands in Bolna

| What you had in ElevenLabs | Where it lands in Bolna | Notes |
| - | - | - |
| Agent prompt & first message | **Agent tab** (`system_prompt`, `agent_welcome_message`) | `{{var}}` auto-converted to `{var}` |
| `language_presets` | **Multilingual settings** (`multilingual_config`) | Active language and per-language voice/STT preserved |
| ElevenLabs voice | **Voice tab** (ElevenLabs TTS) | Native on Bolna; add your ElevenLabs key in [Providers](https://www.bolna.ai/docs/providers.md) for private clones |
| Workflows | **Graph Agent** (`graph_agent`) | Nodes and edges mapped; falls back to standard agent if beta not enabled |
| Webhook, transfer & DTMF tools | **Tools tab** (`api_tools`, transfer, DTMF) | Ready to use immediately |
| Knowledge base (URL, PDF, text) | **Knowledge Base** (RAG) | Plain-text docs are auto-rendered to PDF and indexed |
| `data_collection` & `evaluation.criteria` | **Extractions / Dispositions** | Created via `/dispositions/bulk` and linked to your agent |
| Batch calls | **Batches** (`contact_number` CSV) | Exported and ready to schedule |
| SIP trunks & Twilio/Exotel numbers | **SIP Trunks** (`/trunk/*`) & **Phone Numbers** | Includes carrier cutover checklist |

## Things to handle manually

* **Custom/cloned voices**: Add your ElevenLabs API key under [Connect provider credentials](https://www.bolna.ai/docs/providers.md) if your voice is private to your ElevenLabs account.
* **ElevenLabs-hosted phone numbers**: Cannot be exported automatically — [buy a number on Bolna](https://www.bolna.ai/docs/buying-phone-numbers) or connect your carrier via [SIP trunk](https://www.bolna.ai/docs/sip-trunking/overview).
* **MCP servers & client-side tools**: Flagged in the gap report — expose them as HTTPS endpoints and attach them as [custom tools](https://www.bolna.ai/docs/tool-calling/custom-function-calls).
* **ConvAI web widget**: Replace with `@bolna/web-call` (snippet saved in `./bolna-migration-out/sdk-cutover.md`).
* **Workspace secrets**: ElevenLabs returns masked values only, so re-enter any tool auth secrets in Bolna.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.