From a document, from the quick actions menu on the document, you can use the option “Generate extraction templates”.
This option will only be available if you have administration permissions on the form, if you are a team administrator, or if you have the extraction template administrator role.
From the dialog box that appears, add a name for the template and click on “Create”. Creation may take a few moments, especially if we run this option from a document that has not been processed (its pages and OCR have not been extracted).
Once creation is finished, if everything has gone correctly, we will be able to access the template to configure it from the “Go to…” button
You can configure the template by following the instructions in the article How to create different data extraction templates for the same form?