===Data Source===
# Start oXygen and go to ''Options'' → ''Preferences'' → ''Data Sources''. # Add a new Data Source with the ''New'' button. # Enter "BaseX" as name and choose ''XQuery API for Java (XQJ)'' as type. # Add the following JAR files above with the ''Add'' Button: {{Code|xqj-api-1.0.jar}}, {{Code|xqj2-0.0.1.jar}} and {{Code|basex-xqj-0.9.2.jar}} (the version names of the JAR file may differ).# Now press ''OK'', and your Data Source is ready for use.
===Connection===