It comes as part of OpenBSD, so there is nothing to install. But note that relayd(8) uses syslog(3) for logging. If you want to record those logs, you will likely want to provision syslog.conf(5) to isolate the messages. See
http://openbsd-archive.7691.n7.nabbl...e-td76656.html for a provisioning discussion.