Hello Ritika Laddha,
Welcome to microsoft Q&A , Thankyou for posting your query here.
Please find the below link to add vm to the host pool.
Hope this helps you.
If an answer has been helpful, please consider accepting the answer to help increase visibility of this question for other members of the Microsoft Q&A community. If not, please let us know what is still needed in the comments so the question can be answered. Thank you for helping to improve Microsoft Q&A!