You can create a database either within the GUI or in the console version of BaseX.
*[[GUI]]: choose File » Go to Database/New » and then press Browse » to choose a file and press OK
*[[Console]]: enter <code>basex -c "create db dbname /path/to/file"</code><br/>
You can create a collection either within the GUI or in the console version of BaseX.
*[[GUI]]: choose File » Go to Database/New » and then press Browse » to choose a directory and press OK
*[[Console]]: enter <code>basex -c "create db dbname /path/to/collection"</code><br/>