The process itself is simple: you launch Toontown, open the text file holding your list of codes, copy a code and paste it into the injector, then press "Submit code".
The consequences are less simple. Injecting third-party code into the client breaks the game's terms of service and is a reliable route to a permanent ban, so anyone experimenting does it on a throwaway account rather than a main. It is also worth knowing that Toontown Online itself closed in 2013, so most of these tools now only apply to private server recreations, where the code is untrusted and may well be malware.