It is a bit unclear mostly because of how much they simplified the process. Under each class and in the magic section it tells you what your magic attack modifier is, in general it's proficiency bonus+ spellcasting ability modifier. In the combat section of the rules it states that attack rolls are against armor class.