# How to install Sample Code on STM32CubeMX
This section will introduce how to download the `sample code` from **STM32CubeMX**.
## Usage
Before start to coding, we need to select specific board/platform from **STM32CubeMX** to generate code. And there are two different way to implement.
### Open Software
Fisrt step, you need to open the **STM32CubeMX** by clicking icon as shown below.

When the window appears on your screen, you can select one to install sample code. The details will be described in the different topics listed below:
- MCU Selector
- Embedded Software Packages

---
### MCU Selector
The contents will be included on the future documents, so just refer the next section.
### Embedded Software Packages
In the right hand side, you will see the `INSTALL/REMOVE` button on the window, you can click button to next window.

Select the specific platform according to your board. In this case, I have a **NUCLEO-STM32H753ZI**, so choosing `STM32H7` was a better option because it is compatible with the board.

Expand the lists and choosing newest version to install.

After completing the download, you will find the relevant information in `C:\Users\<USER>\STM32Cube\Repository\STM32Cube_FW_H7_V1.11.2\`.

And you can navigate to `.\Projects\NUCLEO-H743ZI\Examples` to find some examples.

## Other Information