You can use an input_box to do that.
input_box
But before using it you should get familiar with how the alert with embedded components works.
alert
And before you do that, you should get familiar with how forms in general work. Any tutorial will help with that.