2.3 Get Code Examples from MPLAB® Discover
MPLAB Discover bundles the available resources from multiple sources into one portal, such as code examples, data sheets, evaluation boards, videos and blogs.
Web Page: MPLAB Discover

Discover can also be found in MPLAB X IDE, as shown below:

Discover after the button is clicked:

Code Examples
Finding code examples for devices can be done by searching for the device name in the search bar (e.g., Q71).

The user can download code examples as a .zip
file directly from MPLAB
Discover. Repositories ending with “mplab-mcc” can be opened in MPLAB X.
When the code example is hosted on GitHub, MPLAB Discover provides a link “Open with Github”. Download the example code from there or use the Git tool on the PC to create a local repository clone.