You can install an undermount sink before or after the countertop is installed. I personally prefer to install components one by one: countertop, and then sink.