National Insurance when leaving UK

I understand if an individual who has been making NI contributions permenantly leaves the UK, they may be able to get an amount transferred against their state pension in the relevant country (in this case Italy).

 

Does anyone know how this claim is made?

 

Thanks