Here are the pin assignments for D1 connectors. X1 is the load connector:
Further in the datasheet we can see that X1.1 is the positive motor supply voltage, 12-48VDC, X1.2 is 0V for logic and motor supply, and X1.3 is the positive logic supply.
Note that the dryve D1 is designed for DC voltages (p18)
So, to answer your question, you would need at least one DC power supply to power both motor and logic of the D1, but be careful not to exceed the maximum logic voltage.
The Nema-23 motor you mention has a nominal current of 4.2A, so this is a good baseline. Go with something higher than this so your power supply isn't at risk of cutting out at high current.
Here are some example AC/DC converters with 24VDC and >5A output currents, but you should check the AC voltage and frequency available to you.
I would personally run separate power supplies for motor and logic power, as it makes debugging and management easier in my opinion.