Since you're applying for the position through the tool, you don't need to enter the reference number anywhere β the tool sorts it correctly automatically! π€©
Therefore, there is no field to enter the reference number. If you want to be extra clear, you can include the reference number as a heading in your cover letter, if one is part of the application, or mention it there in some way, but it's not necessary.