docs for connect