Skip to content
Docs

Create an ElevenLabs API key

This guide is part of the Publicus connection catalog. Once you have the credentials, connect the service and Publicus stores them for you.

Distilled from ElevenLabs’ API Keys, API Authentication, How do I authorize myself using an API key? and Data residency pages, retrieved 2026-10-16.

An ElevenLabs API key authenticates Text to Speech and Speech to Text requests and counts their usage against the workspace’s quota. ElevenLabs offers two kinds:

  • a user API key, which belongs to you and can do what you can do in the workspace. Creating one needs a Full Seat, and the key is affected if your access changes or you leave the workspace;
  • a service account API key, which belongs to a service account instead of a person and never expires. ElevenLabs recommends these for backend systems and production workloads. Service accounts are available to multi-seat customers and are managed by workspace admins.
  1. Sign in to ElevenLabs. If your organisation uses an ElevenLabs data-residency environment (EU, India or Singapore), sign in there instead, for example at eu.residency.elevenlabs.io. That environment is a separate workspace with its own accounts, and a key made at elevenlabs.io does not work there.
  2. Open the place where the key is made:
    • for a user API key, click Developers in the left sidebar and select the API Keys tab;
    • for a service account API key, click your profile icon in the top right corner, select Workspace settings and open the Service Accounts tab, then create a key for the service account.
  3. Create a key and give it a name you will recognise later, for example after this connection.
  4. Keep the key restricted. A new key is restricted by default: select only the features this connection needs, Text to Speech and Speech to Text. Leave the Restrict Key toggle on; ElevenLabs recommends restrictions for security.
  5. Optionally set a credit limit on the key, so a leaked key cannot spend the whole quota.
  6. For a user API key, check Expire After. It defaults to Never. If you pick a period (15 minutes to 30 days), the key stops working when it lapses and the connection has to be given a new one.
  7. Do not add an IP allowlist unless you know the fixed public IP addresses the connection calls from. A request from any other address is refused.
  8. Copy the key straight away. ElevenLabs shows it in full only when it is created; afterwards it shows only the name and the last four characters.
  9. Paste the key into the connection. If it came from a data-residency environment, choose that environment’s API host as well, for example api.eu.residency.elevenlabs.io.

If a key is ever committed to a public GitHub repository, ElevenLabs can disable it automatically. Create a new key and update the connection when that happens.

The connection checks the key by asking ElevenLabs for its list of models. It spends no credits.

Open Connections under Credentials, choose ElevenLabs, and pick ElevenLabs API key. Publicus asks for exactly the fields listed above and keeps them in your workspace’s secret storage.

See also: ElevenLabs in the catalog.

This guide is maintained by Publicus and published under CC BY 4.0.