If you are a citizen of a European Economic Area (EEA) Member State, you may enter Slovenia with a valid identity card or a valid passport.
If you are a citizen of a non-EEA country, you must acquire a visa or a residence permit from Slovenia's diplomatic mission abroad.
Upon coming to Slovenia, you have to register a temporary residence with the local Administrative Unit Offices.
Here you can find information about traveling to Ljubljana.
Photo: Veerasak Piyawatanakul, www.pexels.com