Login like you would login to Idena Web App:

Encrypted private key Password step 1: Login Enter invitation address step 2: Get nonce and epoch step 3: Encode RawTx step 4: Sign RawTx step 5: Delete invitation


check out source code for this tool on GitHub