Hi!
"Connect" for what purpose?
The PDF you linked has an example in 6.1 (p14), and there are several ways to do that.
But if your purpose isn't that - maybe you want to monitor ONTAP from Splunk or do something entirely different - then there may be other answers.