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

# Level RMM

> Unified idemeum agent deployment with Level RMM.

In this guide we will deploy idemeum agent with Level RMM. We will take a unified script that takes `customer name` as an input variable. And when deploying to a workstation or a set of workstations in Level, we will be prompted to enter the customer name. If the customer organization does not exist in idemeum, it will be automatically created.

## **Obtain unified install script**

* Navigate to the admin portal of your `Main MSP dashboard`
* Click on the `Install new agent button`
* Choose the operating system and copy the unified install script command
* Save this command somewhere as we will need to use it in Level

<img src="https://mintcdn.com/idemeum/yoEfxjcK198e2QwW/images/atera1.png?fit=max&auto=format&n=yoEfxjcK198e2QwW&q=85&s=34b9dee2c25d209e3268372ddebf878d" alt="Atera1" width="1600" height="1354" data-path="images/atera1.png" />

## **Create installation script**

There are several ways you can deploy scripts in Level - you can use automations, you can define custom variables and take them as an input, etc. We will simply create a script with an input variable, and when this script is deployed, we will be prompted to provide the customer name that needs to be used in idemeum.

* Access your Level dashboard
* Navigate to `Automations` → `Scripts` → `Create script`

<img src="https://mintcdn.com/idemeum/jk-G3dHvAtBT3A0p/images/level2.png?fit=max&auto=format&n=jk-G3dHvAtBT3A0p&q=85&s=c964da42addc921dedd0a552b4089142" alt="Level2" width="1600" height="1320" data-path="images/level2.png" />

* Enter the name for your script
* First we will create an input variable. Click on the `Variables` submenu and then `Add new variable`

<img src="https://mintcdn.com/idemeum/jk-G3dHvAtBT3A0p/images/level3.png?fit=max&auto=format&n=jk-G3dHvAtBT3A0p&q=85&s=bd455981688c68e64a7c4ddd276f0621" alt="Level3" width="1600" height="1320" data-path="images/level3.png" />

* Provide the variable name and keep the default value empty

<img src="https://mintcdn.com/idemeum/mGCdOE0bQQoIaDgk/images/level5.png?fit=max&auto=format&n=mGCdOE0bQQoIaDgk&q=85&s=6e8e686e0890257b6926a7511b39cfc3" alt="Level5" width="1600" height="1320" data-path="images/level5.png" />

* Add variable
* Now go back to the script configuration submenu `Details`
* Paste the unified installation command that you obtained in the previous step
* Choose `Powershell` for Windows and run script as `Local system`
* Scroll down to the `-customerName` attribute and reference the input variable in `""` quotes. To reference the variable we created you can click on the variables button at the bottom right.

<Warning>
  Make sure the variable is passed in double quotes.
</Warning>

<img src="https://mintcdn.com/idemeum/jk-G3dHvAtBT3A0p/images/level6.png?fit=max&auto=format&n=jk-G3dHvAtBT3A0p&q=85&s=b16d56ecb905c487cc8e784e346cfd66" alt="Level6" width="1600" height="1320" data-path="images/level6.png" />

* Save the configuration

## **Deploy script**

You can deploy script to workstations manually, or deploy to all workstations with a certain tag. Here we will deploy to one workstation for demonstration purposes.

* Navigate to the workstation that you need to deploy idemeum to
* Click on `...` and choose `Run saved script`
* Choose idemeum deployment script
* Now you can input the customer name that you want to associate idemeum agent with. If customer does not exist in idemeum, it will be automatically created.

<img src="https://mintcdn.com/idemeum/jk-G3dHvAtBT3A0p/images/level11.png?fit=max&auto=format&n=jk-G3dHvAtBT3A0p&q=85&s=28ce66107522c89b3dba21ffc16a3129" alt="Level11" width="1600" height="1320" data-path="images/level11.png" />
