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

# ElevenLabs

> Connect ElevenLabs to your Rocket.new app and add AI-powered voice generation, text-to-speech, and voice cloning with a single prompt.

export const LlmsDirective = () => <blockquote className="llms-directive">
    For the complete documentation index, see <a href="/llms.txt">llms.txt</a>.
    For a lightweight markdown version of this page, append .md to the URL.
  </blockquote>;

<LlmsDirective />

Connect your ElevenLabs API key and describe the voice feature you need in chat. Rocket generates the complete integration: text-to-speech components, voice selection, audio playback, and content management.

<Note>
  This connector is only available for **Next.js TypeScript** web build tasks.
</Note>

<Divider />

## What you can do

<CardGroup cols={2}>
  <Card title="Text-to-speech" icon="volume-high">
    Convert any text into natural, lifelike speech with multiple voice options and language support.
  </Card>

  <Card title="Voice cloning" icon="clone">
    Clone a custom voice from audio samples and use it to generate speech unique to your brand or product.
  </Card>

  <Card title="Multilingual speech" icon="globe">
    Generate speech in multiple languages from a single voice, ideal for global apps and localized content.
  </Card>

  <Card title="Voiceover generation" icon="microphone">
    Create voiceovers for videos, podcasts, courses, or product demos directly from your app.
  </Card>

  <Card title="Audio content management" icon="folder-music">
    Manage generated audio files, organize voice projects, and stream or download audio from your app.
  </Card>
</CardGroup>

<Divider />

## Before you connect

You need an ElevenLabs API key.

<Card icon="arrow-up-right-from-square" horizontal href="https://elevenlabs.io/app/settings/api-keys" arrow="true">
  Get your ElevenLabs API key from the dashboard
</Card>

| Key detail           | Value                          |
| :------------------- | :----------------------------- |
| **Prefix**           | `sk_`                          |
| **Min length**       | 20 characters                  |
| **Where to find it** | ElevenLabs Settings > API Keys |

<Warning>
  Never paste your API key directly into chat. Always use the secure connector popup. If your key is exposed, rotate it immediately from the ElevenLabs dashboard.
</Warning>

<Note>
  ElevenLabs is a **task-level** connector. Each Rocket task connects to its own API key independently.
</Note>

<Divider />

## Connect ElevenLabs

<Tabs>
  <Tab title="Web Browser">
    You can connect from two places - both open the same popup.

    **Option 1: From chat**

    Type a prompt that mentions ElevenLabs or text-to-speech - for example, `Connect ElevenLabs and add text-to-speech to my app`. Rocket detects the intent and shows a **Connect** button inline. Click it and the popup opens.

    <Frame caption="ElevenLabs connection prompt in chat">
      <img src="https://mintcdn.com/dhiwisepvtltd-5e04e6a4/2QQrUI6PnBchwezf/images/build-docs/connectors/elevenlabs/web-browser/elevenlabs-chat-light.webp?fit=max&auto=format&n=2QQrUI6PnBchwezf&q=85&s=99c9b94810d917e891ac23e0b902c98b" alt="ElevenLabs connection prompt in the Rocket chat panel." className="theme-image light-image" width="2880" height="1800" data-path="images/build-docs/connectors/elevenlabs/web-browser/elevenlabs-chat-light.webp" />

      <img src="https://mintcdn.com/dhiwisepvtltd-5e04e6a4/2QQrUI6PnBchwezf/images/build-docs/connectors/elevenlabs/web-browser/elevenlabs-chat-dark.webp?fit=max&auto=format&n=2QQrUI6PnBchwezf&q=85&s=59c6ab915aa22fcc919dba508bc778ad" alt="ElevenLabs connection prompt in the Rocket chat panel." className="theme-image dark-image" width="2880" height="1800" data-path="images/build-docs/connectors/elevenlabs/web-browser/elevenlabs-chat-dark.webp" />
    </Frame>

    **Option 2: From the Connectors tab**

    Click the **`...`** button in the preview toolbar, then select **Connectors**.

    <Frame caption="Open Connectors from the toolbar">
      <img src="https://mintcdn.com/dhiwisepvtltd-5e04e6a4/2lqYWidv_xVHKfL6/images/build-docs/connectors/shared/connectors-tab-open-light.webp?fit=max&auto=format&n=2lqYWidv_xVHKfL6&q=85&s=7bd785a0e878564054e08328b2aa3d6b" alt="Toolbar dropdown with Connectors option highlighted." className="theme-image light-image" width="2880" height="1624" data-path="images/build-docs/connectors/shared/connectors-tab-open-light.webp" />

      <img src="https://mintcdn.com/dhiwisepvtltd-5e04e6a4/2lqYWidv_xVHKfL6/images/build-docs/connectors/shared/connectors-tab-open-dark.webp?fit=max&auto=format&n=2lqYWidv_xVHKfL6&q=85&s=d047040372d776cb47e4e483de8eeb8d" alt="Toolbar dropdown with Connectors option highlighted." className="theme-image dark-image" width="2880" height="1624" data-path="images/build-docs/connectors/shared/connectors-tab-open-dark.webp" />
    </Frame>

    Click the **ElevenLabs** card, then click **Connect**.

    <Frame caption="ElevenLabs card in the Connectors panel">
      <img src="https://mintcdn.com/dhiwisepvtltd-5e04e6a4/2QQrUI6PnBchwezf/images/build-docs/connectors/elevenlabs/web-browser/elevenlabs-connectors-tab-light.webp?fit=max&auto=format&n=2QQrUI6PnBchwezf&q=85&s=6b0139024c58169e9a18c7f2bb36369f" alt="Connectors panel showing the ElevenLabs card with a Connect button." className="theme-image light-image" width="1810" height="562" data-path="images/build-docs/connectors/elevenlabs/web-browser/elevenlabs-connectors-tab-light.webp" />

      <img src="https://mintcdn.com/dhiwisepvtltd-5e04e6a4/2QQrUI6PnBchwezf/images/build-docs/connectors/elevenlabs/web-browser/elevenlabs-connectors-tab-dark.webp?fit=max&auto=format&n=2QQrUI6PnBchwezf&q=85&s=cd9f5b2b4355293c59ce5112704a4f85" alt="Connectors panel showing the ElevenLabs card with a Connect button." className="theme-image dark-image" width="1810" height="562" data-path="images/build-docs/connectors/elevenlabs/web-browser/elevenlabs-connectors-tab-dark.webp" />
    </Frame>

    **After clicking Connect**

    A popup opens. Paste your **API key** and click **Connect**.

    <Frame caption="Connect ElevenLabs popup">
      <img src="https://mintcdn.com/dhiwisepvtltd-5e04e6a4/2QQrUI6PnBchwezf/images/build-docs/connectors/elevenlabs/web-browser/elevenlabs-popup-light.webp?fit=max&auto=format&n=2QQrUI6PnBchwezf&q=85&s=134a80ce3efc3b79c9eeb058066dc7f4" alt="Connect ElevenLabs popup with an API key input field." className="theme-image light-image" width="844" height="508" data-path="images/build-docs/connectors/elevenlabs/web-browser/elevenlabs-popup-light.webp" />

      <img src="https://mintcdn.com/dhiwisepvtltd-5e04e6a4/2QQrUI6PnBchwezf/images/build-docs/connectors/elevenlabs/web-browser/elevenlabs-popup-dark.webp?fit=max&auto=format&n=2QQrUI6PnBchwezf&q=85&s=e8bcee212367d3846ca217eec5edce81" alt="Connect ElevenLabs popup with an API key input field." className="theme-image dark-image" width="844" height="508" data-path="images/build-docs/connectors/elevenlabs/web-browser/elevenlabs-popup-dark.webp" />
    </Frame>

    A green dot appears next to ElevenLabs when the connection is active.

    **Update or disconnect**

    Go to [**Connectors > ElevenLabs**](#connect-elevenlabs). Click **Edit** to update the key or **Disconnect** to remove the integration.

    <Frame caption="Edit and Disconnect options on a connected ElevenLabs card">
      <img src="https://mintcdn.com/dhiwisepvtltd-5e04e6a4/2QQrUI6PnBchwezf/images/build-docs/connectors/elevenlabs/web-browser/elevenlabs-disconnect-light.webp?fit=max&auto=format&n=2QQrUI6PnBchwezf&q=85&s=959ce12c5e54a1fd5911cb7b81ef5de7" alt="ElevenLabs card showing Edit and Disconnect buttons." className="theme-image light-image" width="1802" height="482" data-path="images/build-docs/connectors/elevenlabs/web-browser/elevenlabs-disconnect-light.webp" />

      <img src="https://mintcdn.com/dhiwisepvtltd-5e04e6a4/2QQrUI6PnBchwezf/images/build-docs/connectors/elevenlabs/web-browser/elevenlabs-disconnect-dark.webp?fit=max&auto=format&n=2QQrUI6PnBchwezf&q=85&s=90a7e1a7382971d15cc9fd31deac104c" alt="ElevenLabs card showing Edit and Disconnect buttons." className="theme-image dark-image" width="1802" height="482" data-path="images/build-docs/connectors/elevenlabs/web-browser/elevenlabs-disconnect-dark.webp" />
    </Frame>
  </Tab>

  <Tab title="Mobile App">
    You can connect from two places - both open the same popup.

    **Option 1: From chat**

    Type a prompt that mentions ElevenLabs or text-to-speech. Rocket detects the intent, shows a **Connect** button, and the popup opens when you tap it.

    **Option 2: From the Connectors tab**

    1. Tap the **More** button in the header.
    2. Tap **Integrations**.
    3. Tap the **ElevenLabs** card, then tap **Connect**.

    **After tapping Connect**

    A popup opens. Paste your **API key** and tap **Done**.

    A green dot appears next to ElevenLabs when the connection is active.

    **Update or disconnect**

    Go back to the **ElevenLabs** card in Integrations. Tap **Edit** to update the key or **Disconnect** to remove it from this task.
  </Tab>
</Tabs>

<Divider />

## Example prompts

| What you want           | Prompt to use                                                                                                          |
| :---------------------- | :--------------------------------------------------------------------------------------------------------------------- |
| Text-to-speech page     | `Add a text-to-speech feature where users type text and hear it spoken aloud using ElevenLabs.`                        |
| Voice selector          | `Build a voice selection page that lets users preview different ElevenLabs voices before generating speech.`           |
| Voiceover tool          | `Create a voiceover generator where users paste a script and download the audio file using ElevenLabs.`                |
| Multilingual narration  | `Add multilingual narration to my app. Let users pick a language and generate speech from their text with ElevenLabs.` |
| Audio content library   | `Build an audio content library where users generate, store, and replay voice clips using ElevenLabs.`                 |
| Podcast intro generator | `Generate podcast intro audio from a text script using ElevenLabs and let users download it as MP3.`                   |
| Accessibility reader    | `Add a "Read aloud" button to each article that uses ElevenLabs to read the content to the user.`                      |
| Custom voice setup      | `Let users upload a voice sample to clone their voice with ElevenLabs, then use it for all generated audio.`           |

<Divider />

## Tips

* **API billing is separate.** ElevenLabs charges based on character usage. Monitor your quota in the [ElevenLabs dashboard](https://elevenlabs.io/app/subscription).
* **Start with pre-made voices.** ElevenLabs offers a library of ready-to-use voices. Use them to prototype before investing in voice cloning.
* **Character limits apply.** Each plan has a monthly character allowance. Keep generated audio concise and cache results where possible.
* **Voice cloning requires samples.** To clone a voice, you need at least one minute of clean audio. Higher quality samples produce better results.
* **One API key per task.** Each Rocket task connects to one ElevenLabs API key independently.

<Divider />

## What's next?

<CardGroup cols={2}>
  <Card title="OpenAI" icon="microchip-ai" href="./openai">
    Combine ElevenLabs speech with GPT-generated scripts for fully automated audio content.
  </Card>

  <Card title="Anthropic" icon="brain" href="./anthropic">
    Use Claude to write long-form narration scripts, then voice them with ElevenLabs.
  </Card>

  <Card title="Supabase" icon="database" href="./supabase/overview">
    Store generated audio files and user voice preferences in Supabase.
  </Card>

  <Card title="All connectors" icon="plug" href="/build/connectors/overview">
    Browse every available integration.
  </Card>
</CardGroup>
