# How do I connect SafeNet to MessageBird's SMS Gateway?

<figure><img src="/files/9kKbv7wmmy0eMqEu16cY" alt=""><figcaption></figcaption></figure>

It's quite easy to connect **SafeNet SMS Authentication** to your MessageBird Account. Here you'll learn how to get up & running for sending One Time Password messages in no time. Keep in mind that for the moment One Time Password for SafeNet is only supported by our old API (not the REST API); you can read the [documentation on this API](https://www.messagebird.com/en/developers-old) for more information.&#x20;

### SafeNet configuration

Configuration setup is done within the SMS Settings. To do so, just fill in the details as stated below:

* **Default/Custom:**\
  Select the option *'Custom'*.\ <br>
* **Gateway:**\
  Select *'Primary SMS gateway provider'* from the drop-down menu.\ <br>
* **SMS Plugin:**\
  Select *'Generic HTTP(s) SMS Plugin'* from the drop-down menu.\ <br>
* **Method:**\
  Select GET from the drop-down menu.\ <br>
* **Add parameters to URL:**\
  Select TRUE from the drop-down menu.\ <br>
* **SMS URL:**\
  <https://api.messagebird.com/api/sms>\ <br>
* **Destination Parameter Name:**\
  Fill in the parameter *'destination'*.\ <br>
* **Message Parameter Name:**\
  Fill in the parameter *'body'*.\ <br>
* **Success Message ContainsString:**\
  01\ <br>
* **Use Proxy:**\
  Select the option *'No'*.
* **Username:**\
  Enter the username of your MessageBird Account.\ <br>
* **Sender:**\
  Enter the name you want to show as the originator of your SMS messages—this text field may contain a maximum of 11 alphanumeric or 17 numeric characters.\ <br>
* **Password:**\
  Enter the password of your API. Keep in mind that the password of your MessageBird Account and the one to access your API [may be different](https://support.messagebird.com/hc/en-us/articles/200787661).


---

# 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.bird.com/connectivity-platform/other-integrations/how-do-i-connect-safenet-to-messagebirds-sms-gateway.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.
