Bootloading process in SAMD21 Development Board

I am developing a custom board based on SparkFun RedBoard Turbo - SAMD21 Development Board.Thanks to Sparkfun for providing the reference schematics.

I want to make my board compatible with Arduino IDE.So, my question is- do i need to upload the bootloader first in the blank SAMD21 and then i can upload my custom arduino program ?If yes, then Please explain the process of uploading arduino bootloader in the blank SAMD21 chip.

We have a guide for this [here, but you will need to include a Cortex Debug header on your board and then use a programmer like the [Atmel ICE or a [J-Link EDU Base to ‘burn’ the bootloader into the SAMD chip.](https://www.sparkfun.com/products/15346)](https://www.sparkfun.com/products/14950)](https://learn.sparkfun.com/tutorials/arm-programming)