Transfers dimethylallyl groups to AMP as part of the biosynthesis of cytokinin phytohormones. AMP + dimethylallyl diphosphate = diphosphate + N(6)-(dimethylallyl)adenosine 5'-phosphate During the interaction with host plants. Belongs to the isopentenyl transferase family.