connect via api not qutomatically