Add magnetic force to a sphere

Hi. I would like to learn how I can work with magnets in Isaac Sim to make an mfl sensor simulation.