> This page is for Home.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.emnify.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.emnify.com/_mcp/server.

> Manually configure the emnify APN on industrial cellular routers like Teltonika Networks

## Teltonika Networks

> Applies to RUT240, RUT950, RUT955, RUTX09, RUTX11, RUTX12, RUTX14, RUTXR1, RUT360

Newer firmware versions of the Teltonika Networks' industrial cellular routers should automatically detect the emnify APN.
If the APN isn't correctly detected, you can configure it in three ways:

* With the [Teltonika WebUI](#teltonika-webui) over Wi-Fi or Ethernet
* Through the [emnify Portal SMS console](#sms-console-teltonika) (recommended)
* Via SMS through the [emnify REST API](#rest-api-teltonika)

### Teltonika WebUI

Connect your PC through the router's Wi-Fi using the credentials provided on the device.

Open the Teltonika WebUI `http://192.168.1.1` and go to the **Mobile Configuration**.

Type in `em` in **APN**.
Make sure to select the **Auto** checkbox.

> **Info**
>
> There's no **PIN number** configured on the SIM.

### emnify Portal SMS console \[#sms-console-teltonika]

First, turn on your router and ensure the device and emnify SIM card are activated.
If you still need to do this, follow the [Create device](/quickstart/create-device) guide.

Then, follow these steps to set up the APN:

Log in to your [emnify account](https://portal.emnify.com/sign).

Navigate to **Connected Devices** and find your Teltonika Networks router.
Turning on the router for the first time after installing the SIM shows the status as **Attached**.
The device can receive SMS at this point but only establish a data session if the APN is set up or detected.

[Open the SMS console](/portal/sms#open-the-sms-console) and send the following command:

```txt
cellular apn=em
```

> **Note**
>
> See [Teltonika's SMS Commands](https://wiki.teltonika-networks.com/view/SMS_Commands) reference for a comprehensive list of SMS commands, syntax, and usage.

### emnify REST API \[#rest-api-teltonika]

You can use the SMS calls in the emnify REST API to automate the device configuration.

> **Tip**
>
> Follow the [getting started guide](/developers) in the Developers documentation to learn how to authenticate and use the API.

To send SMS to a device, use [**POST** `/api/v1/endpoint/{endpoint_id}/sms`](/developers/api/endpoint/endpoint-sms-by-id-post) with the following request body:

```json
{ 
  "source_address": "123456789",
  "payload": "cellular apn=em" 
}
```

Replace *`123456789`* with your chosen source address.