Hi Ishika,
Welcome to the Q&A community.
Without looking at your code nor knowing what language it is a little bit hard for me to give you direct advices. But Microsoft as such an extensive documentation that I can direct you to this article right here:
It explains in great details how to do what you are looking for.
Hope it helps, if it does, please accept this answer.