You can input tempo marks with the keyboard by using the tempo popover, with the mouse by using the Tempo panel, and in the Tempo editor. You can input a tempo mark containing just a text instruction, just a metronome mark, or a combination of the two.
You can also input tempo equations using the tempo popover and Tempo panel.