> For the complete documentation index, see [llms.txt](https://docs-en.dydu.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-en.dydu.ai/integration/channels/connector/smsmode.md).

# Smsmode

## Creating the smsmode Configuration

This section details the necessary steps to link the smsmode platform to the Dydu solution, enabling communication via SMS. The procedure requires actions on both interfaces: Dydu (Channels) and smsmode (Configuration).

### Retrieving the Dydu Endpoint

1. Access the **Dydu** interface, then navigate to **Integration > Channels**.

<figure><img src="/files/3f03B9vF7NiZ2Wc64op7" alt="" width="563"><figcaption></figcaption></figure>

2. Click on **smsmode** and assign a title to this new configuration.

<figure><img src="/files/W1Kz9CsUTL218ALkFAyz" alt="" width="563"><figcaption></figcaption></figure>

3. Click on "**Create"**
4. Copy the generated **Endpoint URL** and **keep it aside temporarily**.
5. Select the language and the knowledge space (consultation space) associated with the chatbot.

<figure><img src="/files/ZQ6sPXDve0maqgTTJjr3" alt=""><figcaption></figcaption></figure>

### Webhook Configuration on the smsmode Interface

The retrieved endpoint must be configured in smsmode to receive incoming messages (MOs).

1. Go to the configuration **interface of the smsmode website**.
2. Access your **configuration** section.
3. Navigate to **Settings > Webhooks**.

<figure><img src="/files/JlcXLBj1XgkzZvCkA7h0" alt="" width="176"><figcaption></figcaption></figure>

4. Paste the **endpoint** copied in previous step into the "**URL for MO notifications**" field.

<figure><img src="/files/7t1zCAHsi1ifd2B5twdB" alt="" width="563"><figcaption></figcaption></figure>

5. Validate the modification by clicking on "**Edit**".

### Generating the smsmode API Key

1. In the smsmode interface, navigate to **Settings > API Keys**.

<figure><img src="/files/SfvgM50aX0ZHjdlSGvq4" alt="" width="178"><figcaption></figcaption></figure>

2. Click on "**Generate a new API key**".

<figure><img src="/files/QH4cAucJ9ZP4VWGlBwAH" alt="" width="563"><figcaption></figcaption></figure>

3. Assign a **name** to this new API key and click on "**Create**".

<figure><img src="/files/bz7qjDwtsQk39Iui8fe6" alt="" width="319"><figcaption></figcaption></figure>

4. **Copy the generated API key** and **save it securely** (for security reasons, it will no longer be accessible or displayed afterward).

<figure><img src="/files/8qbb6ErYp2Hg8R4l0nqK" alt="" width="479"><figcaption></figcaption></figure>

### Finalization and Dydu Connection

1. Return to the **smsmode** integration on the **Dydu Channels** interface.
2. Paste the **API key** retrieved in previous step into the dedicated field "**smsmode API Key**".

<figure><img src="/files/pl2DhtuIXILZXPeK9Sd7" alt="" width="563"><figcaption></figcaption></figure>

3. Click on **Finish** to save and activate the configuration.

The Dydu chatbot is now connected to the smsmode number. You can validate the integration by sending a test message to this number.
