Hi Rogieh,
did you try the example sketch (File-Examples-WIFININA-Connectwithwpa)?
Please note that you (only) have to add your wifi networkname and password in the 'arduino_secrets.h' tab.
#define SECRET_SSID "your network ssid"
#define SECRET_PASS "your password"
Also..this example is for a dhcp server.. if your router is in static mode, this won't work...
Greetz Scoobie