# Connect a Simulator

With Robpod Studio you can **simulate** a robot script on external [integrated simulators](https://docs.robpod.cloud/appendix/supported-simulators).

Simulators can be used to:

* [Run and test a robot script](https://docs.robpod.cloud/simulation/simulate-a-script) in a virtual envionment
* Develop a robot application with [off-line programming](https://docs.robpod.cloud/simulation/off-line-programming) method

Use the **Simulator Tool Window** to conect Robpod Studio to a simulated robot.

<figure><img src="https://175138337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fvxlh3prlGsBGF30oqbYW%2Fuploads%2Fh4XoVJPxjj8prUyRPYBs%2Fsimulator-tool-window.png?alt=media&#x26;token=463ead11-1ccf-455d-a91c-bd60befc488c" alt=""><figcaption></figcaption></figure>

Inside the Simulator Tool Window:

1. Choose the simulator.
2. **Open** the simulator. When simulator is detected from Robpod Studio status <img src="https://175138337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fvxlh3prlGsBGF30oqbYW%2Fuploads%2FMQMlXQ9cybmqVTqis9Hq%2Fimmagine.png?alt=media&#x26;token=3f2b85c5-31f6-4038-a2d5-f540aae20cdd" alt="" data-size="line"> will be displayed.
3. Add **Robot Instance** to the simualtor or select an exisiting one.&#x20;
4. If you add a new robot instance you will be requested to **choose a robot model**.

   <figure><img src="https://175138337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fvxlh3prlGsBGF30oqbYW%2Fuploads%2Fh2V4CQz2DFVMPMnx0ocw%2Fselect-robot-model.PNG?alt=media&#x26;token=0f06cf07-d2ce-49e8-82d7-6beee9029e70" alt=""><figcaption></figcaption></figure>
5. When roobot instance is detected from Robpod Studio status <img src="https://175138337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fvxlh3prlGsBGF30oqbYW%2Fuploads%2FS5rlgE776Mo5FTFWQtbp%2Fimmagine.png?alt=media&#x26;token=8217cb19-d89a-42df-86e9-e92dbe7dd091" alt="" data-size="line"> will be displayed.

{% hint style="info" %}
The [embedded viewer](https://docs.robpod.cloud/simulation/simulator-viewer) supported by some simulators is not enabled by default Inside Robpod Studio. The embedded viewer should be enabled inside this [Simulation Settings](https://docs.robpod.cloud/simulation/simulation-settings) panel.
{% endhint %}
