# Starting and running the Wifi-Manager

## Starting the Wifi-Manager

In order to use the Wifi-Manager, you have to download it under <https://github.com/tzapu/WiFiManager> first.

The following website is shown:

![](https://274800927-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LHgUN0FpKxTuT7H90rv%2F-LHgWY-D6QL1repnvl5n%2F-LHgWYtosgCGYOHs_vNK%2FWiFi-Manager_00_Download-Treiber.png?generation=1531902844356478\&alt=media)

After downloading the zip-file „WiFiManager-master.zip“ you have to open Arduino.

To use the library, you have to import it under *Sketch* --> *Include Library* --> *Add .ZIP Library...*

![](https://274800927-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LHgUN0FpKxTuT7H90rv%2F-LHgWY-D6QL1repnvl5n%2F-LHgWYtrMQ7UNzDQ4VAb%2FWiFi-Manager_01_Bib-einbinden-Men%C3%BC.png?generation=1531902842236843\&alt=media)

## First test-program

In order to test the Wifi-Manager, a new Arduino-file has to be opened (*File* --> *New* or via shortcut *CTRL* + *N*)

The first test-program includes a setup-function and a loop

```
#include &lt;WiFiManager.h&gt;                                   
void setup() {                                                     
WiFiManager wifiManager;                                           
wifiManager.autoConnect();                                         
}                                                                
void loop(){}
```

![](https://274800927-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LHgUN0FpKxTuT7H90rv%2F-LHgWY-D6QL1repnvl5n%2F-LHgWYttuzVDoWHiYy-d%2FWiFi-Manager_02_Testprogramm.png?generation=1531902842733739\&alt=media)

To upload the program, you have to click the button with arrow (marked red)

![](https://274800927-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LHgUN0FpKxTuT7H90rv%2F-LHgWY-D6QL1repnvl5n%2F-LHgWYtvZnk6VeFMVlDH%2FWiFi-Manager_03_Hochladen2.png?generation=1531902841082654\&alt=media)

After the upload was successful you will get to see the message "Upload successful" in the lower part of the window (marked red in the lower picture)

![](https://274800927-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LHgUN0FpKxTuT7H90rv%2F-LHgWY-D6QL1repnvl5n%2F-LHgWYtxzvpOf-PuHxVd%2FWiFi-Manager_03_Hochladen-erfolgreich2.png?generation=1531902837673037\&alt=media)
