> ## 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.

# Atera RMM

> Unified idemeum agent deployment with Atera.

In this guide we will take a look at how you can deploy idemeum agent to Atera managed workstations with unified deployment script. We will create a script and leverage a placeholder variable, so that when the script is deployed, you can dynamically pass the customer name to idemeum script. This way the idemeum agent will be associated with the appropriate organization in idemeum, and if the organization does not exist, 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 Atera

<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 script in Atera**

* Access the Atera management dashboard
* Click on `New` at the top left and choose `Script`

<img src="https://mintcdn.com/idemeum/yoEfxjcK198e2QwW/images/atera2.png?fit=max&auto=format&n=yoEfxjcK198e2QwW&q=85&s=efa96c12cf01dba36249304fe9a1043e" alt="Atera2" width="1600" height="1320" data-path="images/atera2.png" />

* Specify the following parameters for the script
  * Provide script name and description
  * File type `ps1`
  * Max run minutes `10`
  * Run as `System`
* In the script editor window paste the idemeum command that you obtained in the previous section
* Scroll to the `-customerName` attribute and reference a dynamic variable using `""`. In this care we are using variable `{[customerName]}`.
* Create the script

<img src="https://mintcdn.com/idemeum/yoEfxjcK198e2QwW/images/atera3.png?fit=max&auto=format&n=yoEfxjcK198e2QwW&q=85&s=48cfb3bd56b79b5ec3f19acd10d66931" alt="Atera3" width="1600" height="1320" data-path="images/atera3.png" />

## **Deploy Atera script**

* Access the workstation where you would like to deploy idemeum
* Click `Manage` and choose `Run script`

<img src="https://mintcdn.com/idemeum/yoEfxjcK198e2QwW/images/atera4.png?fit=max&auto=format&n=yoEfxjcK198e2QwW&q=85&s=3055c9dea11556aaed570d4731f4a06d" alt="Atera4" width="1600" height="1320" data-path="images/atera4.png" />

* Choose the idemeum script you created before and click `Run` next to it
* You will be prompted to enter the customer name. You can provide the organization name for which you are deploying idemeum agent. If the organization does not exist in idemeum, the customer tenant will be automatically created.
* Run the script for idemeum agent to be installed and configured

<img src="https://mintcdn.com/idemeum/yoEfxjcK198e2QwW/images/atera5.png?fit=max&auto=format&n=yoEfxjcK198e2QwW&q=85&s=3f33da162bfebb0624d53eac2c94b5e1" alt="Atera5" width="1600" height="1320" data-path="images/atera5.png" />
