To dock with a space station in Starfield, first get within 500 meters of the space station. Then, target the station by pressing the E key on a PC or the A button on an Xbox controller. Once targeted and within range, hold the R key on PC or the X button on a controller to initiate docking. A short cutscene will play, and then the ship will be docked. After docking, you will have options to board the station, undock, or get up from your ship. Here is a concise step-by-step:
- Approach the space station to within 500 meters.
- Press E (PC) or A (Xbox) to target the station.
- When prompted, hold R (PC) or X (Xbox) to dock.
- Watch the docking cutscene.
- After docking, choose to board or undock from the station.
This process works for docking to almost any ship or space station in Starfield, including hostile ships if you've disabled their engines first.