# Create a voicebot

{% hint style="info" %}
Not sure what the differences are between chat and voice bots? [This article](/voice/phone-and-voice/from-chat-to-voice.md) will help you.
{% endhint %}

## Set up a Voice channel

{% stepper %}
{% step %}
[Add a **Voice** channel](broken://pages/gcUxJ17N14SsJWGsaHoi#add-a-channel-to-your-bot) from your **Channels** tab.

![](/files/vVeZjF5J5h6AiZZKZss1)
{% endstep %}

{% step %}
Click on **Create**.

<div align="left"><figure><img src="/files/7LpI5NXad8KrhZ8c52Sb" alt="" width="375"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
Click on **Set up Sinch Voice**.

<div align="left"><figure><img src="/files/BU6qUNR9bjXbGZo01GJo" alt="" width="375"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
Paste your **Sinch Key** and **App Secret** to Chatlayer.

<div align="left"><figure><img src="/files/dr4MB5dpwiquJ47MThPu" alt="" width="375"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
Click **Save**.

When the previous steps are completed, you'll be able to see the same number from your Sinch Dashboard Voice App in your numbers for the Sinch Voice channel on Chatlayer. The Callback URL from Sinch Dashboard will be automatically filled in for you.
{% endstep %}
{% endstepper %}

## Choose a voice for your bot

{% stepper %}
{% step %}
Under your **Settings** tab, go to **Voice**.

<div align="left"><figure><img src="/files/IaRpTNGjIrziBaDD5Gci" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
You have several dialects suggested for your languages. Select the one you'd like to be default by clicking the Make default button after you hovered on it.

<figure><img src="/files/Bt6A29OTJe82lpWnawcH" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

## Customize your bot's voice with SSML

To enhance your bot's responses using Speech Synthesis Markup Language (SSML) and improve the conversational experience. This will need to be used inside **Text** in [blocks](/buildabot/flow-logic/dialog-state.md).

<figure><img src="/files/haY4A2bn3U9kx6Kcm1pX" alt="" width="375"><figcaption><p>Example of text with SSML.</p></figcaption></figure>

{% hint style="info" %}
To enable SSML, you need to put `<speak>` …  `</speak>` around the entire bot text.&#x20;
{% endhint %}

For example:

* **Adjusting Speech Rate**: Use `<prosody rate="slow">` to make the bot speak more slowly for clarity.
* **Changing Pitch**: Utilize `<prosody pitch="high">` to make the tone sound more upbeat.
* **Emphasizing Words**: Apply `<emphasis level="strong">` to give particular emphasis to crucial words.
* **Pausing for Effect**: Insert `<break time="500ms"/>` to create a pause.
* And many more!

There's much more cool stuff to do with SSML!&#x20;

{% hint style="success" %}
Check all you can do with SSML on [Google documentation](https://cloud.google.com/text-to-speech/docs/ssml?hl=fr).&#x20;
{% endhint %}

{% hint style="warning" %}
The Google guidelines for SSML will only work on the voices without a "no\_ssml" tag:

![](/files/r8cqtB7rai1ts70AcJtm)<br>
{% endhint %}

##


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.chatlayer.ai/voice/phone-and-voice/create-a-voicebot.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
