specify resource to connect to