Per document type
The test type "Document type" can be started in the Marketing section and in the content app. The type is selected in step 2 of the setup.
You can save & preview whether your code works by clicking "Save & preview".
After you've create all variants you can go and start your A/B testing as written in Setting up the A/B test.