The knowledgebase article that (sparsely) covers this is:
https://cubecart.zendesk.com/hc/en-gb/articles/360003794038-How-do-I-create-a-new-front-end-dynamic-section-or-page
(Ignore the mention about the encoded index file.)
A deeper discussion can be had here on the forums.