Step 1: Finish writing a book
*This is key
Step 2: Stare into the void
Step 3: Research agents looking for your type of book
Here is a good place to start
Step 4: Imagine all the rejections that will come in
Step 5: Make a spreadsheet to keep your agents/queries organized
This is a good resource, or you can use querytracker.net
Step 6: Keep imagining all the rejections
Step 7: Make sure you have all the query bits
First 10 (ish) pages, synopsis, author bio, etc.
Step 7a: Cry because writing a synopsis is so hard!
Step 8: Send the query
Step 9: Stew in query limbo, where the book has neither been accepted or rejected
Step 10: Rejection.
Step 11: Cry… cry a lot.
Step 12: Repeat steps 8-11
Step 13: ACCEPTED!
Step 14: Cry… cry a lot.
Congrats, you now have an agent!