To reach Quinta da Regaleira from the Sintra train station, take bus 434 to Largo Ferreira Castro. The entrance to the palace is an 8 minute walk up the road from there. Alternatively, you can walk to Quinta da Regaleira. From Sintra train station it's a 22 minute walk, and from Sintra town it's about 15 minutes.