- Passing a username / password to the customer portal might be possible. Normally this requires you take a look at the HTTP requests which are generated in your browser as part of a normal login, then try and replicate those through code.
- In the get data section this is where you would want to call the page on the customer portal which contains the keys.
- You would need to parse the table containing your keys and convert it into a json table object.
- getJSON will get JSON from a URL. As per my point above, you can't just use 'get json' against that table ,you actually need to parse the table into something well structured
There's a lot here to wrap your head around. You could scrape it with a screenscraping program or website i.e. iMacros add-in, www.import.io, or you could investigate using a tool like Google Sheets to scrape a website.