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

# Configure outgoing SMS connector

> How to set up an SMS connector for SuperOffice.

This page describes how to set up an SMS connector for SuperOffice.

## Pre-requisites

You need an **account with the SMS provider** to obtain a username and password to connect to their service.

**Supported connectors:**

* [CM][1]
* [Compaya][2]
* [Intelecom][3]
* [Link Mobility (PSWinCom)][4]
* [SMSTeknik][5]
* [Twilio][6]
* [TxtLocal][7]

## Steps

1. Select **Marketing** in the navigator.

2. Go to the **Mailings** tab.

3. Click the **Settings** button in the lower-right corner.

4. Choose your SMS provider from the **Module** list.

5. Enter default country code and sender.

6. In the **Plugin configuration** box, add the following provider-specific settings. Then click **OK**.

<Tabs>
  <Tab title="CM">
    ```text theme={null}
    cm_serviceId =
    cm_username =
    cm_password =
    ```

    ![CM SMS plugin configuration -screenshot][img1]
  </Tab>

  <Tab title="Compaya">
    ```text theme={null}
    compaya_username =
    compaya_password =
    ```

    ![Compaya SMS plugin configuration -screenshot][img2]
  </Tab>

  <Tab title="Intelecom">
    ```text theme={null}
    intele_serviceId =
    intele_username =
    intele_password =
    ```

    ![Intelecom SMS plugin configuration -screenshot][img3]
  </Tab>

  <Tab title="Link Mobility (PSWinCom)">
    ```text theme={null}
    pswin_username =
    pswin_password =
    ```

    ![Link Mobility PSWinCom SMS plugin configuration -screenshot][img4]
  </Tab>

  <Tab title="SMSTeknik">
    ```text theme={null}
    smsteknik_serviceId =
    smsteknik_username =
    smsteknik_password =
    ```

    ![SMSTeknik SMS plugin configuration -screenshot][img5]
  </Tab>

  <Tab title="Twilio">
    ```text theme={null}
    twilio_account_sid =
    twilio_auth_token =
    ```

    ![Twilio SMS plugin configuration -screenshot][img6]
  </Tab>

  <Tab title="TxtLocal">
    ```text theme={null}
    txtlocal_username =
    txtlocal_password =
    ```

    ![TxtLocal SMS plugin configuration -screenshot][img7]
  </Tab>
</Tabs>

<Note>
  In the legacy Service client, go to **System** > **SMS** to find the settings.
</Note>

## Testing the service

To test that the service is set up correctly, you can create a new request, add an SMS recipient and wait for the SMS service to send the message (within a minute or 2).

It is also possible to test using a simple CRMScript that connects directly to the SMS service using NetServer.

```crmscript theme={null}
NSMessagingAgent agent;
NSOutgoingMessage[] messages;
NSOutgoingMessage msg;
msg.SetTo("+47xxxxxxxx");
msg.SetFrom("MyCompany");
msg.SetContent("Hi friend! How are you?");
messages.pushBack(msg);

NSMessageDeliveryStatus[] receipts = agent.SendMessages("MySmsPluginName", messages);
```

This method of sending will not create any entries in the [SMS outbox][8], and the SMS is sent immediately to NetServer, not when [ejournalcron.exe][9] runs (usually once every minute).

[1]: https://www.cmtelecom.com/products/messaging/sms

[2]: http://www.compaya.dk/

[3]: https://www.intele.com/contact-centre-solution/sms/

[4]: https://www.linkmobility.com/products/link-sms-gateway/

[5]: http://www3.smsteknik.se/tj%C3%A4nster/sms-gateway

[6]: https://www.twilio.com/sms

[7]: http://www.textlocal.com/

[8]: ../../../email/admin/mailbox/index#sms-out

[9]: /en/onsite/automated-tasks/ejournalcron

[img1]: /media/loc/en/marketing/sms-settings-cm.png

[img2]: /media/loc/en/marketing/sms-settings-compaya.png

[img3]: /media/loc/en/marketing/sms-settings-intelecom.png

[img4]: /media/loc/en/marketing/sms-settings-pswincom.png

[img5]: /media/loc/en/marketing/sms-settings-smsteknik.png

[img6]: /media/loc/en/marketing/sms-settings-twilio.png

[img7]: /media/loc/en/marketing/sms-settings-txtlocal.png


## Related topics

- [SMS connectors](/en/marketing/sms/it/index.md)
- [Pocket CRM configuration](/en/onsite/pocket-crm/configure.md)
- [sms table](/en/database/tables/sms.md)
- [outgoing_message table](/en/database/tables/outgoing-message.md)
- [NSOutgoingMessage](/en/automation/crmscript/reference/CRMScript.NetServer.NSOutgoingMessage.md)
- [Configure ERP connection](/en/erp/admin/configure.md)
