にあたって/にあたり
Usage
Used to express "when doing -". In "-", special timing to make up one's mind or important thing comes "at the time; on the occasion of ~"
Examples
皆さん、JLPTを受けるにあたって、大切なことを伝えておきます
Everyone, I will tell you an important thing for when you take the JLPT exam
アルバイトをするにあたっては、学業や体に無理のないようにすること
If you are going to work part-time, make sure that it does not interfere with your studies or health