Configuring a Hazmat code To configure a hazmat code; Select Configuration > Codes > Hazmat. Specify this information: Hazmat Codes Key Specify the key for the hazmat code. Unicode Specify the valid hazmat UN Code. To save your changes, click Save.