Workspaces -> Configuration -> Config Stores; use the plus sign in the bottom corner to add a new Store location
This is a place on a disk or mount to which you have access (write access if you're authoring or read access if you're not authoring) and will be used to store queries
The intended scope of the Store is the application; the store location can be used for multiple environments
The Environment is simply a named association of a Connection with a Store
Use the text area to add a query
To parameterize your query, use :name to make it a named parameter, such as :student_id
Named parameters will get their values from row contexts in the database results. For example, if there is a row that has a column student_id, and the query as a defined link to another query that has a named parameter :student_id, that named parameter will be given the value from the row
Export as CSV
Export as Fixed-width (very convenient for Slack)
Export the SQL that ran with the parameter values
Commit to your preferred repository so that your team can share queries