Temperature is basically atomic/molecular movement and the more energetic the movement the more likely that crashing nuclei will react and fuse.
There are currently two major magnetic field designs:
- Tokamak, such as ITER [1] - Stellerator, such as Wendelstein-7X [2]
Apparently Iter was designed to make sure the energy balance works out, but we'll see.
Needless to say, but it also requires loooooots of related research, eg materials to handle the magnetic flux, temperature, etc etc etc.
Pressures are no-where near the core of the sun (300 billion bar), nor are confinement times (years).
Which is why we use D-T fusion, which is not at all the same as the "clean, natural hydrogen fusion" in the sun. That whole "clean energy, like the sun" argument is fake.