You’re right, it’s not straight-forward to do from Studio, after all.
I hope this helps:
You’ll have to adapt that from Contacts module to Leads.