I use some sort of metal degreaser to use in workshops, a bit the same like a brake cleaner, first. Then mineral spirits, when completely clean I use compressed air to get everything from between the links.
Use a plastic box to put the chain in and shake it until all grime has come out.
Afterwards rewax with Squirt dry lube and let sit until dried, then I reapply and let dry again before going for a ride.