Code snippets are part of the Gold plan.
In Site Builder > Custom Menu, uncheck the 'Hide' box for Code Snippets.
Then click on 'View Site' and you'll see 'Code Snippets' on your league site's horizontal menu bar. You can generate code snippets from there.
Note: You can generate code snippets for division tables/standings, results and matches, not cups.