There were codebooks that had the daily initial settings in them. Other settings were chosen by the operator, e.g. the plugboard.