How to introduce the new cat to the resident cat?

If you are introducing a new cat to your resident cat, this does needs to be done gradually keep your new cat restricted to one room...