A 23-year-old woman with type 1 diabetes presents with 1 day of abdominal pain, nausea and polyuria. She has missed several insulin doses. On examination she is tachycardic and mildly dehydrated. Capillary glucose is 24 mmol/L, ketones are positive and venous blood gas shows metabolic acidosis. What is the most important initial management step?