Setting up connection

To set up a connection: