See inline comments for documentation... If you want to use IFTTT, you can put the key in a file 'ifttt_key.txt' and it will be read on startup.