Log on to infobus.by, under "Countries" select Czech Republic and the system will give you all cities Czech Republic with bus connections to the city Krakow.