# Connect mBot

You can connect mBot to mBlock 5 via the USB or Bluetooth 4.0.

* [Method one: via the USB](http://docs.makeblock.com/mbot/en/tutorials/connect.html#method-one-via-the-usb)
* [Method two: via Bluetooth 4.0](http://docs.makeblock.com/mbot/en/tutorials/connect.html#method-two-via-bluetooth-40)

**Method one: via the USB**

1\. Use the USB Cable that came with mBot to connect your mBot to a USB port on you computer.

2\. Power on your mBot.

![](/files/-Lr3QIR8oU27sEsng-FR)

3\. Under "Devices", click "add", and choose "mBot" from the pop-up Device Library window.

![](/files/-Lr3QIR9R7VXkfcHoctH)→ ![](/files/-Lr3QIRAFYlKjZNvglzI)

4\. Click "Connect", and from the pop-up device connection window, click "Connect" under "USB".

![](/files/-Lr3QIRBTzwh_PSIDtcG)→ ![](/files/-Lr3QIRCdJ7Gq9gxsprq)

**Method two: via Bluetooth 4.0**

System requirements:

* **Windows**: the version of Bluetooth must be 4.0; for other Bluetooth versions, a Bluetooth 4.0 adapter is recommended (refer to [Bluetooth 4.0 Adapter](http://www.mblock.cc/doc/en/part-one-basics/connect-devices.html#3-bluetooth-40-instructions-for-windows-users) for detailed instructions)
* **Mac OS**: support most Mac OS models

1\. Power on your mBot.

![](/files/-Lr3QIRDP3Iis5nuDaBs)

2\. Turn on the Bluetooth on your PC.

* Windows: on the task bar, select **action center** > **Bluetooth**
* Mac OS: choose **Apple menu** > **System Preferences**, then click **Bluetooth**

3\. Under "Devices", click "add", and choose "mBot" from the pop-up Device Library window.

![](/files/-Lr3QIREidOBBarPFFtK)→ ![](/files/-Lr3QIRFwZXNwP-96O3J)

4\. Click "Connect", and from the pop-up device connection window, click "Connect" under "Bluetooth 4.0".

![](/files/-Lr3QIRGXTwcrHLg0mvX)→ ![](/files/-Lr3QIRHVRQRtLkZOTeR)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://learn.pakronics.com.au/primary/mbot/connect-mbot.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
