Double check that you have properly installed the ESP8266 files by going to Tools>Board>Boards Manager. Search for ESP8266 and verify that the package shows as Installed.
Assuming that Arduino IDE already installed and ESP8266 boards option is already installed, open sketches and make SSID and password changes to ESP8266 sketch and upload. Upload sketch to Arduino Mini.