What to do once the signatures are sewn together?

I am having a fun time sewing all the signatures together, but I am not sure what I will need to do afterwords. Obviously, I know glue is involved and that I need to attach the cover, but I am wondering what and how.