Fulfill all required informations (the one with a red *) and click on "Save and Continue" 3 times (the "Scopes" and "Test users" parts do not require any inputs)
Click on publish and validate (important)
On the Credentials tab, click on "Create Credentials" then "OAuth client ID", select "Web application"
Select your gsuite/workspace account give permissions using your google account, then "Exchange authorization code for tokens", check "Auto-refresh the token before it expires." and note your refresh token.
Open/download the SharedDriveCreator.js file and put your :
Client ID at line 4
Client Secret at line 5
Refresh token at line 587
Change the number at line 12 with the number of different drives you have (this number is useful for the random choice)
Change the name of the choices of the dropdown list by the name of your domains or whatever you want at line 374