---
title: "Quick set up of setting template"
canonical: "https://docs.xirgoglobal.com/space/FMSTC/21597894/Quick+set+up+of+setting+template"
format: markdown
---
Functions of setting template are wide and complex, however in most cases you just need to set up a few things to be ready to go. So let’s check mandatory fields to start testing.

---

We will show hot to *create setting template* from zero.  
If you are *editing an existing template*, go to part II.

## **I. Creation of new template.**

Login to XDM portal and click Configurations tab.

![image-20241120-085332.png](media://a244e57a-f0e2-40c1-9efc-382bd7509ff8)


Click on new template creation button:

![image-20241120-090400.png](media://263c2c1e-ef2b-452b-9ff2-a597e66ed2b6)


Then step by step choose Device type, then Dealer to which you want to assign template, then admin template on which you will build new template:

![image-20241120-092813.png](media://4ec7ea4d-e740-4f14-9ec0-4410d3fdcde5)


After choosing admin template, wait a bit till all elements will be loaded.

When ready, you will be able to see setting template tree on the left:


![image-20241120-093140.png](media://87a85925-c5f2-4ee1-b08f-617241c9f0de)


Reds - are elements which are not filled yet. Most of them you do not need. 

There are two buttons to interact with template -* Expand* (will expand all tree of template) and *clear* (will delete all reds, or improperly filled fields).

Click “Clear” to delete all unnecessary fields.

---

## **II. Mandatory set up within setting template.**

There are three fields, which are most necessary to start testing and see results:

Name;  
Connectivity > Telemetry server > MQTT broker address;  
Connectivity > GSM/GPRS > APN list;  
Data recording > Simple.

#### **a) Name.**

![image-20241120-093357.png](media://79ea6272-9241-4e93-8528-7920507d0cdd)

Set an understandable name and add notes.


#### **b) Set address where to send data.**

All data will be sent to broker, so set address and port where data should be sent:


![image-20241120-094609.png](media://b6070a9d-88ab-4f56-b3d0-916a7481e5f2)


Set host and port.  
Additionally, you might need to set Authorization or other parts, depending on integration made on broker side.


#### **c) Set APN of SIM inserted to device.**

To configure you would need to know MCC, MNC and APN of SIM.  
***Note. ****MCC, MNC are five first digits of IMSI code (123 - MCC, 45 - MNC).*

If you use few different operators, can insert all of them, but mandatory is the one of SIM, inserted to device.


![image-20241120-095111.png](media://45f63e92-2976-49b1-a4c3-5d954b69251a)


#### **d) Set which data should be sent to send to broker.**

In ‘Data recording’ click on “Simple” and then “+ Add” button to create a packet, which will be sent to server.

Also, you can use button of “Import preset” and choose preset based on type of device, for example:

![image-20241120-100911.png](media://09ff509d-14f9-4450-821a-0350c81d9273)


For more information how to create data recording packets - visit here: [Data sending methods](https://it.confluence.xirgo.com/wiki/spaces/FMSTC/pages/21597454).  


Now save your new template.


Seems you are ready to go!