Blynk.config() how to I define the ssid and the pwd

If you use Blynk.config then it’s your responsibility to establish the Wi-Fi connection first, before calling Blynk.config & Blynk.connect.

You can do this with Blynk.connectWiFi(ssid, pass) or use the more conventional WiFi.config and:

  if (WiFi.status() != WL_CONNECTED)
  {
      WiFi.begin(ssid, pass); // connect to the network
  }

The (probably simpler and much better) alternative is to use @khoih’s library…

Pete.