To acclimate fish properly you need to test the water in the bag. That’s the only way to know how long to take. If the pH and hardness are similar, put them straight in. If they’re different, mix them gradually as above. The time it takes depends on the water differences.
Equalising temperatures by floating the bag takes about two minutes at most.