Do you have to use a sill pan?
While not strictly mandated by all building codes, using a sill pan is highly recommended, especially when framing on concrete. It provides crucial protection against moisture intrusion, preventing rot and mold in the wall framing by directing any water that penetrates the sill away from the structure.