It's not clear to me from your post what part of the process is troubling you. Basically it should go like this.
1. Create a text object.
...