I'm quite new to this

Where should I post the code for new nodes in my wallet to make it get a connection. I need exact explanation

you should be able to just fire it up and it will get connections pretty quickly. If you want to make your wallet sync quicker you can update it with the bootstrap