how can i connect a relay device?