Use a USB cable to connect the micro-controller to your computer
Open the microcontroller settings window by going to Hardware > Microcontroller Settings or click the settings icon in the toolbar on the left side
Click on the add button (+) and select the right port from the list. Use the refresh button next to the dropdown to list all available ports.
Select the corresponding vendor of the microcontroller and press the save button
A new microcontroller will be added to microcontroller list in the window
The supply voltage should match the voltage used to power the motor (default: 12V)