If you are buying complete batons and installing, there should be wiring instructions with the units. If you don't have instructions, search the internet, and you should find many colourful diagrams which show standard wiring for light fittings, including the wiring to the switch. There will be a live, neutral and possibly earth to connect, but it depends on what you have already. The baton may require an earth, but you might not having an earth coming down to the existing light fitting.
Your question isn't 100% clear, but a picture to show what you have is worth 1000 words.
As Dee J says, It is better to have an understanding of how lighting circuits are wired.
If you are just replacing an existing light fitting with a LED baton it is quite straightforward, but you must ensure you connect properly and you must earth it if an earth is required.
if you are replacing a traditional tube with a LED baton, you need to replace the started cap with the equivalent part supplied with the LED baton.
When in doubt, ask on here, you will get help.