Swift to participate in GSoC 2020!

If we’re proposing our own idea, does the idea need to have support from a mentor before the proposal phase, or would a mentor be assigned if the proposal is accepted?