# Getting Started

{% embed url="<https://www.youtube.com/watch?v=Rf1xjUO-P40>" %}
Brief tutorial on how to turn MUGIC on, configure your MUGIC® motion sensor device using Bluetooth and Wi-Fi with WIFI AP & WIFI Client modes. We’ll also talk about how to connect multiple MUGICs together.
{% endembed %}

{% hint style="info" %}
1\.  Connect MUGIC® via USB-C to power source to charge.

2\. Turn MUGIC® on by pressing power button for 2 seconds.

3\. Connect to MUGIC® Wi-Fi network (MugicConnectXXXXXX).

4\. Receive data via Wi-Fi on port 4000 (default).
{% endhint %}

### 1. Connect MUGIC® via USB-C to power source to charge.

<figure><img src="/files/DnqjexnWt0GqjtJVfEyy" alt=""><figcaption><p>Charge MUGIC with the USB-C cable included in the box. We recommend to charge MUGIC® before use (this will take approximately 2 hours).</p></figcaption></figure>

### 2. Turn MUGIC® on by pressing power button for 2 seconds.

<figure><img src="/files/igJpb419VeKfOVwaSWWT" alt=""><figcaption><p>“Long Press” more than 2 seconds to power on. When the third LED is SOLID blue, MUGIC is ready to connect.</p></figcaption></figure>

### 3. Creating a Wi-Fi Network

<details>

<summary>MUGIC®  in default (AP) mode </summary>

MUGIC®  is in AP (Access Point) mode as default, which means MUGIC®  creates its own wireless network. You are now receiving data via UDP (User Datagram Protocol) over the default port, which is set to 4000.  (You can always return to this initial state by pressing the RESET button.

</details>

Turn on the power. The first time you do so, MUGIC®  will automatically start in **Wi-Fi AP mode**. The Wi-Fi/Bluetooth LED will glow solid blue, indicating that MUGIC® has successfully created a Wi-Fi network.&#x20;

<figure><img src="/files/VpWPKuDVqU5u5WtYh8w2" alt=""><figcaption><p>When MUGIC® is first turned on, it will automatically start in Wi-Fi AP mode. The 3rd LED will glow solid blue, indicating that MUGIC® has successfully created a Wi-Fi network. </p></figcaption></figure>

The blue LED blinks slowly after successfully joining the network, indicating that MUGIC®  is sending data.

### 4. Receive Data via Wi-Fi on port 4000 (default)

**To change MUGIC® parameters, such as:**

{% hint style="info" %}

* AP Mode: network name (AP SSID) and password, and port number,
* Client Mode: network name (Wi-Fi SSID) and password, and port number, as well as Client IPs to send the MUGIC® data to,
* Bluetooth: device name (BLE Name),
* Other parameters: output data format, frequency, etc.
  {% endhint %}

{% tabs %}
{% tab title="Via Bluetooth" %}
**Configure with BLE Configurator in Google Chrome**

<figure><img src="/files/nYyWLBVBRH9aAH4fdSNV" alt=""><figcaption></figcaption></figure>

1. Visit  <https://mugic-dev.github.io/ble-config/ble.html> using Chrome or Microsoft Edge (will not work on Safari or Firefox).  Or visit <http://mugicmotion.com/>, under documentation, and click the link [BLE Configurator.](https://mugic-dev.github.io/ble-config/ble.html)
2. Click on "Connect to Mugic Device", a popup window will open.
3. Press Power and Mode buttons simultaneously, the BLE name of your MUGIC®  should appear in the window, select it and click "Pair".
   {% endtab %}

{% tab title="Via Wifi" %}
When connected to MUGIC® in AP mode, simply visit <http://192.168.4.1/configure>

In Wi-Fi Client mode, use the IP address of MUGIC®  instead of 192.168.4.1
{% endtab %}
{% endtabs %}

**In either of these websites:**

1. Edit the existing value(s), then press "Send".
2. A "Configuration accepted" popup will confirm the change.

   •   An "Error" popup with an explanation will indicate that the change was not applied to MUGIC®.

Next:&#x20;

Visit [MUGIC®  Datagram and Description](/mugic-r-documentation/about-mugic-r/mugic-r-datagram-and-description.md)for understanding the Data API and use with DAWS


---

# 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://mugic-motion.gitbook.io/mugic-r-documentation/getting-started-hub/getting-started.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.
