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

# Genesys + Cartesia Sonic

> Configure the Genesys TTS Connector integration to synthesize speech with Cartesia

> [!TIP]
>
> Last verified: 2026-06-11

## Overview

Genesys partners with Cartesia for text-to-speech in a few ways,
one of which is the Genesys TTS Connector integration.
This integration is configured in the Genesys Cloud.

## Prerequisites

* A [Cartesia subscription](https://play.cartesia.ai/subscription) using a paid plan
* A [Cartesia API key](https://play.cartesia.ai/keys); looks like `sk_car_...`
* Access to a Genesys Cloud organization where you can install and configure integrations

## Configure the Genesys TTS Connector with Sonic

### 1. Open the Genesys TTS Connector integration

If you did not previously install the integration into your Genesys Cloud organization, install the Genesys TTS Connector now.

If you already installed the integration:

1. Click **Menu** > **IT and Integrations** > **Integrations**.
2. Search for and open the **Genesys TTS Connector** integration.

![Genesys Cloud integrations page showing the Genesys TTS Connector integration](https://mintcdn.com/cartesia-2650f86a/pcPjP4xhSRSuVyRX/assets/images/integrations/genesys-tts-connector/add-integration.png?fit=max\&auto=format\&n=pcPjP4xhSRSuVyRX\&q=85\&s=2ef84cfef8e959854ee70b53d9fc125d)

### 2. Name the integration

In the **Details** tab, enter a unique name for the integration. This can be anything you want, such as `Genesys TTS Connector: Cartesia`.

### 3. Open the Configuration tab

On the **Genesys TTS Connector: Cartesia** integration page, click **Configuration**.

### 4. Configure properties

Under **Properties**, enter these values:

| Property name | Value |
| - | - |
| Synthesize Text URI | `https://api.cartesia.ai/tts/bytes` |
| List Voices URI | `https://api.cartesia.ai/voices/export` |
| Synthesize Text Request Method | `post` |
| Voices Attribute | `data` |
| Voice Name Attribute | `name` |
| Voice Id Attribute | `id` |
| Voice Language Attribute | `language` |
| Voice Gender Attribute | `gender` |
| PCI Compliant | `True` |

> [accordion] These properties are not used and can be left alone
>
> * Synthesize Text Attribute
> * Synthesize Voice Attribute
> * Synthesize Languages Attribute
> * Synthesize OutputFormat Attribute
> * Synthesize Sample Rate Attribute
> * Voice Type Attribute

![Genesys TTS Connector properties configured for Cartesia](https://mintcdn.com/cartesia-2650f86a/pcPjP4xhSRSuVyRX/assets/images/integrations/genesys-tts-connector/config-properties.png?fit=max\&auto=format\&n=pcPjP4xhSRSuVyRX\&q=85\&s=3fb9d83b299f5837689d1ea13dfe2f38)

### 5. Set the advanced JSON configuration

Click **Advanced**, then copy and paste this as the JSON configuration:

```json theme={null}
{
  "synthesizeBody": {
    "voice": {
      "mode": "id",
      "id": "$voice"
    },
    "model_id": "sonic-latest",
    "transcript": "$text",
    "output_format": {
      "container": "raw",
      "encoding": "pcm_s16le",
      "sample_rate": 8000
    }
  }
}
```

> [!TIP]
>
> 1. If these settings generate garbled audio, come back and change `output_format` to match your telephony setup. See [Output Format](https://docs.cartesia.ai/build-with-cartesia/capability-guides/tts-output-audio-format.md) for details.
> 2. Before using Sonic in production, change `sonic-latest` to a dated model snapshot from [TTS models](https://docs.cartesia.ai/build-with-cartesia/tts-models/latest.md) for stability.

![Genesys TTS Connector advanced JSON configuration for Cartesia](https://mintcdn.com/cartesia-2650f86a/pcPjP4xhSRSuVyRX/assets/images/integrations/genesys-tts-connector/config-advanced.png?fit=max\&auto=format\&n=pcPjP4xhSRSuVyRX\&q=85\&s=9480c24d846b0a57df38a5a3d796d3cc)

### 6. Add credentials

1. Click **Credentials**, then click **Configure**.

2. In the Configure Credentials dialog, select **Credential Type: User Defined**.

3. Click **Add Credential Field**, then add these fields:

   | Key | X-Api-Key |
   | - | - |
   | `X-Api-Key` | Your API key from [play.cartesia.ai/keys](https://play.cartesia.ai/keys) |

   | Key | Cartesia-Version |
   | - | - |
   | `Cartesia-Version` | `2026-03-01` |

4. Click **Confirm**.

![Genesys TTS Connector credentials configured with Cartesia API headers](https://mintcdn.com/cartesia-2650f86a/pcPjP4xhSRSuVyRX/assets/images/integrations/genesys-tts-connector/config-credentials.png?fit=max\&auto=format\&n=pcPjP4xhSRSuVyRX\&q=85\&s=498b84bd9572217351c345d56ae9102b)

### 7. Save and activate the integration

Click **Save & Activate**.

Back on the **Integrations** page, your Genesys TTS Connector integration status should change to **Active** after a few seconds, or show an error.

> [accordion] Troubleshooting activation errors
>
> | Error message | What it means |
> | - | - |
> | You must be logged in to access this endpoint | `X-Api-Key` credential is incorrect |
> | Invalid Cartesia-Version header | `Cartesia-Version` credential is incorrect |
> | `quota_exceeded` | You need to upgrade your Cartesia subscription |
> | Your request was invalid | Something is wrong with **Configuration > Properties** or **Configuration > Advanced** |

![Genesys TTS Connector integrations in an error and active state](https://mintcdn.com/cartesia-2650f86a/pcPjP4xhSRSuVyRX/assets/images/integrations/genesys-tts-connector/integration-error-and-active.png?fit=max\&auto=format\&n=pcPjP4xhSRSuVyRX\&q=85\&s=4359193bfd38bca02fd2a74516eaa3c3)

### 8. Try out Sonic

On the Genesys Cloud **Architect** page, select your newly configured integration and use it for a **supported language**.

You can try out different **voices** on the Architect page, or on [play.cartesia.ai/voices](https://play.cartesia.ai/voices).
See [Choosing a Voice](https://docs.cartesia.ai/build-with-cartesia/capability-guides/choosing-a-voice.md) for tips.

> [!TIP]
>
> If audio is garbled, you may need to change your output format to match your telephony setup:
>
> 1. Read the [output format](https://docs.cartesia.ai/build-with-cartesia/capability-guides/tts-output-audio-format.md) guide
> 2. Go back to **step 5** and try a different `output_format` in **Configuration > Advanced**

![Genesys Architect using Cartesia voices through the Genesys TTS Connector integration](https://mintcdn.com/cartesia-2650f86a/pcPjP4xhSRSuVyRX/assets/images/integrations/genesys-tts-connector/architect-usage.png?fit=max\&auto=format\&n=pcPjP4xhSRSuVyRX\&q=85\&s=c21fba03e7ced789bce7499e54f57540)

## Resources

* [Genesys TTS engine docs](https://help.genesys.cloud/articles/about-text-to-speech-tts-engines/)
* [Genesys TTS connector docs](https://help.genesys.cloud/articles/install-the-genesys-tts-connector-integration/)
* [Cartesia pricing](https://www.cartesia.ai/pricing)
* [Cartesia subscription](https://play.cartesia.ai/subscription)
* [Cartesia API Keys](https://play.cartesia.ai/keys)
* [Finding the right output format](https://docs.cartesia.ai/build-with-cartesia/capability-guides/tts-output-audio-format.md)
* [Choosing a voice](https://docs.cartesia.ai/build-with-cartesia/capability-guides/choosing-a-voice.md)
* [Voice library](https://play.cartesia.ai/voices)


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