how to you transform cartesian equations into cylindrical coordinates?

for example, write the following cartesian equation in cylindrical coordinates and graph:

x^2 + y^2 + (z-1)^2= 1

this seems like it is really simple, so i'm sorry for posting it, but there aren't any examples in my book so i'm not sure what to do. thanks so much