add connection and connection plugin