Installing and Configuring Rocm for Chainner

How to install and configure ROCM in Chainner? I have RX 7700 XT 12GB graphics card in Cachyos?