The gateway's Wi-Fi settings can be configured either by connecting from a terminal such as a smartphone or PC, or by connecting via WPS.

## Method1：Connection using PC or smartphone

<div class="bg-light">

<h5>Requirements:</h5>
<ul>
<li>Smartphone or PC that can be connected to internet</li>
<li>Wi-Fi (SSID, password) *2.4GHz band</li>
</ul>
</div>


### (1) Power ON the gateway

The obniz BLE gateway can be turned ON by inserting the device in the consent.
When the LED turns green, **press and hold the side touch button**. The LED then turns purple and it starts normally and is waiting for the settings.
![](images/doc_qs01.png)


### (2) Wi-Fi Settings / Cloud (Internet) Settings

**Check whether the LED is blinking purple and proceed as follows:**

See more about settings at [ obnizOS Browser Setting ](/reference/obnizos-for-esp32/settings/setting-via-browser).

<hr>
<div class="row">
<div class="col-md-8">
<h4>1. Connect to the Wi-Fi of the gateway<h4>
<p>When the LED is blinking purple, it is possible to connect to the Wi-Fi of the gateway.</p>
<p>Use a smartphone or a PC to connect to the Wi-Fi named obniz-XXXXXXXX (8 digits obnizID).</p>
</div>
<div class="col-md-4">
<figure class="wp-block-image size-large"><img src="images/wi-fi-list.png?w=835&amp;ssl=1" alt="SSIDリスト"></figure>
</div>
</div>
<hr>

<div class="row">
<div class="col-md-8">
<h4>2. Login to the Settings screen<h4>
<p>When connected to the Wi-Fi of the gateway, a pop-up browser window appears displaying a login page.</p>
<p>*The first time login passkey is “obniz”.</p>
</div>
<div class="col-md-4">
<figure class="wp-block-image size-large"><img src="images/captive-00.png?w=835&amp;ssl=1" alt="The first time login passkey is “obniz”"></figure>
</div>
</div>
<hr>

<div class="row">
<div class="col-md-8">
<h4>3. Wi-Fi Settings<h4>
<p>After logging in, ‘Wi-Fi Settings’ page gets displayed. Enter the SSID and password of the Wi-Fi you wish to connect to.</p>
</div>
<div class="col-md-4">
<figure class="wp-block-image size-large"><img src="images/captive-01.png?w=835&amp;ssl=1" alt="Enter the SSID and password of the Wi-Fi"></figure>
</div>
</div>
<hr>

<div class="row">
<div class="col-md-8">
<h4>4. Click on the “Connect” button<h4>
<p>Press “Connect” to save the network credentials and to start the connection.</p>
<p>*The network connection status is displayed below the “Connect” button. On successful completion of the connection, “Online” is displayed.</p>
<p>The connection status is also reflected by the LED and is displayed on the display of the gateway.</p>
<p></p>
<p>The behavior of the settings screen may differ depending on the browser specifications.</p>
<p> <a href="https://support.obniz.com/hc/ja/articles/9765471641113-%E3%83%8D%E3%83%83%E3%83%88%E3%83%AF%E3%83%BC%E3%82%AF%E8%A8%AD%E5%AE%9A%E7%94%BB%E9%9D%A2%E3%81%A7connect%E5%AE%9F%E8%A1%8C%E5%BE%8C-%E8%A8%AD%E5%AE%9A%E3%81%AE%E7%B5%90%E6%9E%9C%E3%82%92%E7%A2%BA%E8%AA%8D%E3%81%99%E3%82%8B%E5%89%8D%E3%81%AB%E3%83%96%E3%83%A9%E3%82%A6%E3%82%B6%E3%81%8C%E9%96%89%E3%81%98%E3%82%8B-Android%E3%81%A7%E9%96%8B%E3%81%84%E3%81%9F%E5%A0%B4%E5%90%88-">For Andoroid users</a></p>

</div>
<div class="col-md-4">
<figure class="wp-block-image size-large"><img src="images/captive-02.gif?w=835&amp;ssl=1" alt="Press “Connect” to save the network"></figure>
</div>
</div>

### (3)Network Settings Completion
You have successfully connected to the cloud if **the LED turns blue** and obnizID, SSID and OS ver. are displayed on the gateway display.

<hr>

## Method1：Setting by WPS

Using WPS, the device can automatically receive SSID and Password from the access point (Wi-Fi router).

### Requirements:

- Router that supports WPS (2.4GHz band)

Flow:

1. Set the device to the purple flashing setting mode. 
2. Press the WPS button on your Wi-Fi router or access point to complete the Wi-Fi setup. 
3. press and hold the button for 3 seconds. The purple light will blink faster.
4. SSID and Password are automatically set and Wi-Fi setup is complete.
5. the device will reboot once completed, and the blue light will turn on when it connects to Wi-Fi and comes online successfully

## Other Method

- [Using the "obniz Device Setting App" smartphone application to set up the device by holding up the smartphone ](/reference/cloud/facility/) *facility/operation function is required
- [Batch configuration of peripheral gateways using the CLI application "obniz-cli"](/reference/obnizos-for-esp32/settings/setting-via-obniz-cli)

Please refer to [Settings](/reference/obnizos-for-esp32/settings) for available settings in obnizOS.
